Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753244AbaJVOb3 (ORCPT ); Wed, 22 Oct 2014 10:31:29 -0400 Received: from filter1.ibarracuda.nl ([83.247.7.10]:49522 "EHLO filter1.ibarracuda.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752210AbaJVOb0 (ORCPT ); Wed, 22 Oct 2014 10:31:26 -0400 X-ASG-Debug-ID: 1413988282-0759e74a717a4e30002-xx1T2L X-Barracuda-Envelope-From: Frans.Klaver@xsens.com X-Barracuda-AUTH-User: xsenscom X-Barracuda-Apparent-Source-IP: 87.249.116.215 From: Frans Klaver To: Sebastian Reichel CC: Frans Klaver , Dmitry Eremin-Solenikov , David Woodhouse , Grant Likely , Rob Herring , Mark Rutland , =?UTF-8?q?Ren=C3=A9=20Moll?= , Guenter Roeck , , , Subject: [PATCH 00/13] ltc2952 modernization and new functionality Date: Wed, 22 Oct 2014 16:30:57 +0200 X-ASG-Orig-Subj: [PATCH 00/13] ltc2952 modernization and new functionality Message-ID: <1413988270-28092-1-git-send-email-frans.klaver@xsens.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.16.11.125] X-Barracuda-Connect: rev-215.116.249.87.virtu.nl[87.249.116.215] X-Barracuda-Start-Time: 1413988282 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://filter1.ibarracuda.nl:8000/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.10827 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/