Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Marek Vasut and committed by
Lee Jones
179507fc 84116526

+1 -1
+1 -1
drivers/leds/leds-pca995x.c
··· 187 187 { .compatible = "nxp,pca9955b", .data = (void *)PCA995X_TYPE_B }, 188 188 {}, 189 189 }; 190 - MODULE_DEVICE_TABLE(i2c, pca995x_of_match); 190 + MODULE_DEVICE_TABLE(of, pca995x_of_match); 191 191 192 192 static struct i2c_driver pca995x_driver = { 193 193 .driver = {