This patch should also remove the use of of_match_ptr, since the definition of variable of_tca6507_leds_match isn't guarded by CONFIG_OF anymore. (If kernel test robot enables this driver but disables CONFIG_OF, a warning will be issued). Pavel, should I respin this, or send another patch afterwards? Marek