iio: adc: xilinx-ams: Convert to use fwnode_device_is_compatible()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2023 17:47:49 +0000 (19:47 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Jan 2023 16:54:46 +0000 (16:54 +0000)
commitcd19fbfedca524947d0df9cab820c21237005de2
treeddade0039de2c33c841f16a252f08228b0584f46
parentc44e031bcff1fa3483374fba7b053825f57dac8e
iio: adc: xilinx-ams: 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>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230119174749.76769-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-ams.c