regulator: pv880x0: Drop ifdeffery
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 3 Sep 2023 16:48:31 +0000 (17:48 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:30:09 +0000 (01:30 +0100)
commitc187b8f87d553cc124c568ecc010a8bf73cf745f
tree17c31403d6d30d276223c34d3bb5848ce54440f7
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
regulator: pv880x0: Drop ifdeffery

Drop of_match_ptr() from pv88080_regulator_driver and get rid of ugly
CONFIG_OF ifdeffery. This slightly increases the size of pv88080_dt_ids
on non-OF system and shouldn't be an issue.

Add mod_devicetable.h include.

While at it, remove trailing comma in the terminator entry for OF/ID
table.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230903164832.83077-2-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pv88080-regulator.c