package: kernel: leds-gca230718: fix build with Linux 6.6
authorDaniel Golle <daniel@makrotopia.org>
Fri, 12 Apr 2024 01:02:36 +0000 (02:02 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Apr 2024 01:07:30 +0000 (02:07 +0100)
commit07918e6612633d550197512a1b15c72867ef80e3
treeee5a6edcb2335c78ce7078d45ccfdb5f33e08cb1
parent076f945dfbc8afa6ced7c5f67d95ab27383dd1e4
package: kernel: leds-gca230718: fix build with Linux 6.6

Starting with Linux 6.3 the .probe call no longer got the id parameter,
see also commit torvalds/linux@03c835f498b5
("i2c: Switch .probe() to not take an id parameter").

As the parameter is anyway unused by the driver, drop it when
building the GCA230718 LED driver for newer kernels.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/leds-gca230718/src/leds-gca230718.c