mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-26 02:25:00 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue