diff options
author | Marek Vasut <marex@denx.de> | 2023-08-09 14:53:14 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-08-15 18:30:07 +0100 |
commit | 179507fcd5e448eaecae9b69f0fb30965c3c4466 (patch) | |
tree | 82d4c5608d913bfd8b5a6eb8ff546d2d35ebd072 /drivers/leds | |
parent | 841165267827955bb3295b066cb6a906ba9265c0 (diff) | |
download | lwn-179507fcd5e448eaecae9b69f0fb30965c3c4466.tar.gz lwn-179507fcd5e448eaecae9b69f0fb30965c3c4466.zip |
leds: pca995x: Fix MODULE_DEVICE_TABLE for OF
Fix copy-paste error in MODULE_DEVICE_TABLE() for the OF table,
use the 'of' first parameter instead of duplicate 'i2c'.
Fixes: ee4e80b2962e ("leds: pca995x: Add support for PCA995X chips")
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230809125314.531806-1-marex@denx.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-pca995x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca995x.c b/drivers/leds/leds-pca995x.c index 3ac99a433fcd..78215dff1499 100644 --- a/drivers/leds/leds-pca995x.c +++ b/drivers/leds/leds-pca995x.c @@ -187,7 +187,7 @@ static const struct of_device_id pca995x_of_match[] = { { .compatible = "nxp,pca9955b", .data = (void *)PCA995X_TYPE_B }, {}, }; -MODULE_DEVICE_TABLE(i2c, pca995x_of_match); +MODULE_DEVICE_TABLE(of, pca995x_of_match); static struct i2c_driver pca995x_driver = { .driver = { |