leds: tca6507: Convert to use fwnode_device_is_compatible()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2023 17:51:50 +0000 (19:51 +0200)
committerLee Jones <lee@kernel.org>
Mon, 30 Jan 2023 08:03:43 +0000 (08:03 +0000)
commit8f47707acd0b65a9e797bc7288a9183131d5ce74
treefd6001dcb93a1ee616d23af7e737f4c0518e1bf0
parent265d313ee6072e26f55bb1b5455f6e92424a7989
leds: tca6507: Convert to use fwnode_device_is_compatible()

Replace open coded fwnode_device_is_compatible() in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230119175150.77250-1-andriy.shevchenko@linux.intel.com
drivers/leds/leds-tca6507.c