projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8411652
)
leds: pca995x: Fix MODULE_DEVICE_TABLE for OF
author
Marek Vasut
<marex@denx.de>
Wed, 9 Aug 2023 12:53:14 +0000
(14:53 +0200)
committer
Lee Jones
<lee@kernel.org>
Tue, 15 Aug 2023 17:30:07 +0000
(18:30 +0100)
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>
drivers/leds/leds-pca995x.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-pca995x.c
b/drivers/leds/leds-pca995x.c
index
3ac99a4
..
78215df
100644
(file)
--- 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 = {