Message ID | 20230809125314.531806-1-marex@denx.de |
---|---|
State | New |
Headers | show |
Series | leds: pca995x: Fix MODULE_DEVICE_TABLE for OF | expand |
On Wed, 09 Aug 2023, Marek Vasut wrote: > 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> > --- > Cc: Conor Dooley <conor+dt@kernel.org> > Cc: Isai Gaspar <isaiezequiel.gaspar@nxp.com> > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > Cc: Lee Jones <lee@kernel.org> > Cc: Marek Vasut <marex@denx.de> > Cc: Pavel Machek <pavel@ucw.cz> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: devicetree@vger.kernel.org > Cc: linux-leds@vger.kernel.org > --- > 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(-) Applied, thanks
diff --git a/drivers/leds/leds-pca995x.c b/drivers/leds/leds-pca995x.c index 4c387e628ba8f..9b7667a03c390 100644 --- a/drivers/leds/leds-pca995x.c +++ b/drivers/leds/leds-pca995x.c @@ -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 = {
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> --- Cc: Conor Dooley <conor+dt@kernel.org> Cc: Isai Gaspar <isaiezequiel.gaspar@nxp.com> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Lee Jones <lee@kernel.org> Cc: Marek Vasut <marex@denx.de> Cc: Pavel Machek <pavel@ucw.cz> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Cc: linux-leds@vger.kernel.org --- 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(-)