summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorErikas Bitovtas <xerikasxx@gmail.com>2026-04-14 15:37:19 +0300
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:21 +0100
commit8078daf88638ef0a280447ebba7ed8a496711e2e (patch)
tree1a6561a05a19ee9675d961536e071dbd38848300 /drivers
parentb2362b824f977a0a08f8d16c36510cabd6f58ce8 (diff)
downloadlinux-8078daf88638ef0a280447ebba7ed8a496711e2e.tar.gz
linux-8078daf88638ef0a280447ebba7ed8a496711e2e.zip
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 <xerikasxx@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/light/vcnl4000.c35
1 files changed, 7 insertions, 28 deletions
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c
index cbe0a9e056ec..52f60b372d2f 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);