From: Nikolay Balandin
Use devm_regulator_bulk_get to make cleanup paths simpler
Signed-off-by: Nikolay Balandin
---
drivers/misc/lis3lv02d/lis3lv02d_i2c.c |9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
b/drivers/misc
From: Nikolay Balandin
Use devm_kzalloc() to make cleanup paths simpler.
Signed-off-by: Nikolay Balandin
---
drivers/gpio/gpio-sx150x.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index 796b6c4
From: Nikolay Balandin
Use devm_* functions to make cleanup paths simpler.
Signed-off-by: Nikolay Balandin
---
drivers/gpio/gpio-sx150x.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index
From: Nikolay Balandin
Update ioctl return values for rtc example code to correctly determine
does the rtc driver support corresponding IRQ type or not.
According to the rtc subsystem interface return values:
For the update and alarm interrupts rtc subsystem interface will
return -EINVAL error
From: Nikolay Balandin
Signed-off-by: Nikolay Balandin
---
drivers/gpio/gpio-pcf857x.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c
index a19b745..a965620 100644
--- a/drivers/gpio/gpio-pcf857x.c
+++ b/drivers/gpio/gpio
Use devm_kzalloc() to make cleanup paths simpler.
Signed-off-by: Nikolay Balandin
---
drivers/gpio/gpio-sx150x.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index 796b6c4..5f7dc82 100644
--- a/drivers
From: Nikolay Balandin
Use devm_*() functions to make cleanup paths simpler.
Signed-off-by: Nikolay Balandin
---
drivers/rtc/rtc-ds1307.c | 57 +-
1 file changed, 21 insertions(+), 36 deletions(-)
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers
From: Nikolay Balandin
Use devm_*() functions to make cleanup paths simpler.
Signed-off-by: Nikolay Balandin
---
drivers/rtc/rtc-ds1307.c | 38 +++---
1 file changed, 15 insertions(+), 23 deletions(-)
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc
From: Nikolay Balandin
Signed-off-by: Nikolay Balandin
---
drivers/regulator/lp3971.c | 11 +++
drivers/regulator/lp3972.c | 11 +++
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c
index d8af9e7
From: Nikolay Balandin
Signed-off-by: Nikolay Balandin
---
drivers/misc/eeprom/at24.c | 15 +--
drivers/misc/eeprom/at25.c |5 ++---
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 2baeec5..e110662
From: Nikolay Balandin
Use devm_kzalloc to make cleanup paths simpler
Signed-off-by: Nikolay Balandin
---
drivers/misc/eeprom/at25.c | 25 -
1 file changed, 8 insertions(+), 17 deletions(-)
diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index
11 matches
Mail list logo