[PATCH v1 1/1] drivers/misc: lis3lv02d: convert to use devm_regulator_bulk_get

2013-05-29 Thread Nikolay Balandin
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

[PATCH v2 1/1] gpio: sx150x: convert to use devm_kzalloc()

2013-05-30 Thread Nikolay Balandin
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

[PATCH v3 1/1] gpio: sx150x: convert to use devm_* functions

2013-05-30 Thread Nikolay Balandin
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

[PATCH v1 1/1] Documentation/rtc: update ioctl return values checkings in example code

2013-06-03 Thread Nikolay Balandin
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

[PATCH 1/1] Add TI TCA9554 to supported devices table

2013-03-06 Thread Nikolay Balandin
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

[PATCH] gpio: sx150x: use devm_kzalloc()

2013-05-24 Thread Nikolay Balandin
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

[PATCH 1/1] rtc: rtc-ds1307: use devm_*() functions

2013-05-25 Thread Nikolay Balandin
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

[PATCH 1/1] rtc: rtc-ds1307: use devm_*() functions

2013-05-25 Thread Nikolay Balandin
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

[PATCH 1/1] regulator: lp397x: use devm_kzalloc() to make cleanup paths simpler

2013-05-25 Thread Nikolay Balandin
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

[PATCH 1/1] drivers/misc: at2x: use devm_kzalloc() to make cleanup paths simpler

2013-05-28 Thread Nikolay Balandin
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

[PATCH v3 2/2] drivers/misc: at25: convert to use devm_kzalloc

2013-05-29 Thread Nikolay Balandin
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