]> 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)
commitab079f9a03d5028838a44d7fb186f7e0b16c699c
tree1cb649329dfb442457ae7230690d390ad3f5ddf0
parentf8f1917568f3a91783523fea89aa8f5df46b3d33
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