[PATCH RESEND 00/13] ltc2952 modernization and new functionality

From: Frans Klaver
Date: Wed Jan 14 2015 - 03:29:37 EST


Hi there,

Here's a resend of an earlier cleanup and improvement series for the ltc2952
driver.

This series implements devm_* usage, reduction of globals, some cleanup and
finally makes the input trigger optional.

>From the changes to the previous submissions I did not include renaming kill to
poweroff. The name poweroff is already used a lot. Besides that, the control
is referred to as kill in the ltc2952 datasheet.

Thanks,
Frans

Frans Klaver (13):
power: reset: ltc2952: prefer devm_kzalloc over kzalloc
power: reset: ltc2952: prefer devm_request_irq over request_irq
power: reset: ltc2952: unroll gpio_desc array
power: reset: ltc2952: prefer devm_gpiod_get over gpiod_get
power: reset: ltc2952: reduce dependency on global variables
power: reset: ltc2952: remove global variable poweroff_panic
power: reset: ltc2952: drop empty suspend/resume functions
power: reset: ltc2952: cleanup control flow in poweroff_handler
power: reset: ltc2952: remove C++ style function pointers
power: reset: ltc2952: disable timers in _remove
power: reset: ltc2952: check trigger value before starting timer
power: reset: ltc2952: make trigger input optional
power: reset: ltc2952: document optional trigger behavior

.../bindings/power/reset/ltc2952-poweroff.txt | 13 +-
drivers/power/reset/ltc2952-poweroff.c | 290 +++++++++------------
2 files changed, 129 insertions(+), 174 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/