regulator: sy8106a: Get rid of struct sy8106a
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Apr 2019 03:01:25 +0000 (11:01 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Apr 2019 09:38:25 +0000 (10:38 +0100)
commit5d7ebba38bafa8f6eba2540e8a36233ea6d6d0dc
tree1cb649329dfb442457ae7230690d390ad3f5ddf0
parentb9816363c0e82f4cd8f9be8153fbc5b81b22911c
regulator: sy8106a: Get rid of struct sy8106a

All the fields in struct sy8106a are only used in sy8106a_i2c_probe(), so
use local variables instead.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy8106a-regulator.c