leds: pca955x: Cleanup OF/ID table terminators
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 23 Sep 2023 17:19:21 +0000 (18:19 +0100)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 11:28:55 +0000 (11:28 +0000)
commit8d3fd7edd5f70fb814c07a321f347b5fe21d3fac
tree0cab4c9b11e9a99821bb7ebbdf8eb2731c7a53a1
parent3b581cb58816d07b033c800d42a040d7ba566fb6
leds: pca955x: Cleanup OF/ID table terminators

Some cleanups:
 * Remove the trailing comma in the terminator entry for the OF
   table making code robust against (theoretical) misrebases or other
   similar things where the new entry goes _after_ the termination without
   the compiler noticing.
 * Drop a space from terminator entry for ID table.

While at it, move OF/ID table near to the user.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230923171921.53503-3-biju.das.jz@bp.renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-pca955x.c