]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f62b533a13f0097016c4c8d2fe2c37a478be1eb
tree1cb649329dfb442457ae7230690d390ad3f5ddf0
parent102067e3a6f4852c1e578f68291a4153150eeec9
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