regulator: fan53555: only bind tcs4525 to correct chip id
authorPeter Geis <pgwipeout@gmail.com>
Tue, 11 May 2021 21:13:34 +0000 (17:13 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 12 May 2021 15:26:39 +0000 (16:26 +0100)
commitf9028dcdf589f4ab528372088623aa4e8d324df2
treecf29feb526e5e6a213e4b30632f729652ab00d87
parentd4db69eba290732357f03ba0a14350b81f778290
regulator: fan53555: only bind tcs4525 to correct chip id

The tcs4525 regulator has a chip id of <12>.
Only allow the driver to bind to the correct chip id for safety, in
accordance with the other supported devices.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20210511211335.2935163-3-pgwipeout@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c