]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pca9450: Convert to use module_i2c_driver
authorAxel Lin <axel.lin@ingics.com>
Sat, 25 Jul 2020 01:44:14 +0000 (09:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jul 2020 13:34:22 +0000 (14:34 +0100)
commit19f1df57b14f5ae9fffda7fc194eeadf37f9b667
tree7fc5f89c9a9c9f0efe5793864eee10279a13adaa
parent12980d9f198a8bdf8fbfb056e7a5735df54e8379
regulator: pca9450: Convert to use module_i2c_driver

Use module_i2c_driver to simplify driver init boilerplate.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200725014414.1825183-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pca9450-regulator.c