mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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: ee4e80b296
("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>
This commit is contained in:
parent
8411652678
commit
179507fcd5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user