regulator: ab8500: Question about AB8505_LDO_USB

From: Axel Lin
Date: Fri Apr 12 2019 - 09:55:11 EST


Hi Lee,
In ab8500 regulator driver code, I found the AB8505_LDO_USB entry does
not has corresponding entry in ab8505_regulator_match.

ab8505 support is added by below commit:
547f384f33dbd6171607f925ab246e25e315961e regulator: ab8500: add
support for ab8505

For ab8505, I'm wondering if it make sense to remove AB8505_LDO_USB
entry from ab8505_regulator_info?
Since it's not in the ab8505_regulator_match, it won't be registered anyway.
For ab8500, you removed the USB regulator by
41a06aa738ad889cf96f56024ddf84ecf4a18a6f regulator: ab8500: Remove USB regulator
So I'm wondering if AB8505_LDO_USB is similar case.

Or does it make sense to add the corresponding entry to ab8505_regulator_match?

Thanks,
Axel