From: Erikas Bitovtas Date: Tue, 14 Apr 2026 12:37:19 +0000 (+0300) Subject: iio: light: vcnl4000: move device tree entries into one line X-Git-Tag: v7.2-rc1~67^2~5^2~215 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8078daf88638ef0a280447ebba7ed8a496711e2e;p=thirdparty%2Flinux.git iio: light: vcnl4000: move device tree entries into one line Make device tree entries one line each to save space and LOC. Signed-off-by: Erikas Bitovtas Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index cbe0a9e056ec1..52f60b372d2f1 100644 --- a/drivers/iio/light/vcnl4000.c +++ b/drivers/iio/light/vcnl4000.c @@ -2058,35 +2058,14 @@ fail_poweroff: } static const struct of_device_id vcnl_4000_of_match[] = { - { - .compatible = "capella,cm36672p", - .data = &cm36672p_spec, - }, + { .compatible = "capella,cm36672p", .data = &cm36672p_spec }, /* Capella CM36686 is fully compatible with Vishay VCNL4040 */ - { - .compatible = "capella,cm36686", - .data = &vcnl4040_spec, - }, - { - .compatible = "vishay,vcnl4000", - .data = &vcnl4000_spec, - }, - { - .compatible = "vishay,vcnl4010", - .data = &vcnl4010_spec, - }, - { - .compatible = "vishay,vcnl4020", - .data = &vcnl4010_spec, - }, - { - .compatible = "vishay,vcnl4040", - .data = &vcnl4040_spec, - }, - { - .compatible = "vishay,vcnl4200", - .data = &vcnl4200_spec, - }, + { .compatible = "capella,cm36686", .data = &vcnl4040_spec }, + { .compatible = "vishay,vcnl4000", .data = &vcnl4000_spec }, + { .compatible = "vishay,vcnl4010", .data = &vcnl4010_spec }, + { .compatible = "vishay,vcnl4020", .data = &vcnl4010_spec }, + { .compatible = "vishay,vcnl4040", .data = &vcnl4040_spec }, + { .compatible = "vishay,vcnl4200", .data = &vcnl4200_spec }, { } }; MODULE_DEVICE_TABLE(of, vcnl_4000_of_match);