mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
regulator/lp3971: drop unnecessary initialization
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
a954c487b9
commit
12a1d933a9
@ -541,7 +541,7 @@ static struct i2c_driver lp3971_i2c_driver = {
|
||||
|
||||
static int __init lp3971_module_init(void)
|
||||
{
|
||||
int ret = -ENODEV;
|
||||
int ret;
|
||||
|
||||
ret = i2c_add_driver(&lp3971_i2c_driver);
|
||||
if (ret != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user