lkml.org 
[lkml]   [2014]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/13] ltc2952 modernization and new functionality
Date
Hi there,

Apparently I missed the fact that version 2 [1] of the ltc2952 driver had already
been queued, so here's a series that implements most of the changes that I
already did in v3..5 [2] of the 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

[1] http://comments.gmane.org/gmane.linux.power-management.general/48312
[2] https://lkml.org/lkml/2014/10/13/104

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



\
 
 \ /
  Last update: 2014-10-22 17:21    [W:0.088 / U:7.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site