leds: pca995x: Fix MODULE_DEVICE_TABLE for OF
PATCH 1/1 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'.
---
Cc: Conor Dooley <[email protected]>
Cc: Isai Gaspar <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
NOTE: This should be added on top of leds-lj or squashed into the driver patch
--- drivers/leds/leds-pca995x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/leds-pca995x.c +1 -1
@@ -181,7 +181,7 @@ static const struct of_device_id pca995x_of_match[] = { { .compatible = "nxp,pca9955b", .data = (void *)1 /* B-type chip */ }, {}, }; -MODULE_DEVICE_TABLE (i2c, pca995x_of_match); +MODULE_DEVICE_TABLE (of, pca995x_of_match);static struct i2c_driver pca995x_driver = { .driver = {
Signature · 1 line
2.40.1
Quoted 17 lines · Marek Vasut
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 <[email protected]>---
Cc: Conor Dooley <[email protected]>
Cc: Isai Gaspar <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
NOTE: This should be added on top of leds-lj or squashed into the driver patch
Quoted 3 lines
--- drivers/leds/leds-pca995x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Signature · 1 line
Lee Jones [李琼斯]