From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752509AbbGVUFJ (ORCPT ); Wed, 22 Jul 2015 16:05:09 -0400 Received: from ring0.de ([5.45.105.125]:52673 "EHLO ring0.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbbGVUFH (ORCPT ); Wed, 22 Jul 2015 16:05:07 -0400 X-Spam-Report: * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: lkml.org] * 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail * domains are different * -0.0 NO_RELAYS Informational: message was not relayed via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 NO_RECEIVED Informational: message has no Received headers From: Sebastian Reichel To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Michael Welling , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel Subject: [PATCH 0/5] [input] tsc2005 cleanup Date: Wed, 22 Jul 2015 22:04:40 +0200 Message-Id: <1437595485-16421-1-git-send-email-sre@kernel.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The following patches simplify and cleanup the tsc2005 touchscreen driver. Apart from making the driver more readable, the direct usage of SPI has been reduced to one function, so that tsc2004 support may be addable now (see [0]). Changes since PATCHv1 [1]: * Avoid mixing spi_*_drvdata() and dev_*_drvdata() by converting all spi_*_drvdata() to dev_*_drvdata() * Add new patch fixing the indent of TSC2005's Kconfig entry * Select REGMAP_SPI in TSC2005's Kconfig entry * Use optional gpiod and regulator API, so that the DT check can be removed * Set TSC2005_REG_PND0 on regmap writes, since it has also been used before the regmap conversion. [0] http://permalink.gmane.org/gmane.linux.kernel.input/37513 [1] https://lkml.org/lkml/2015/7/15/500 -- Sebastian Sebastian Reichel (5): Input: tsc2005 - improve readability of register defines Input: tsc2005 - fix Kconfig indentation Input: tsc2005 - convert to regmap Input: tsc2005 - simplify drvdata acquisition Input: tsc2005 - convert to gpiod drivers/input/touchscreen/Kconfig | 9 +- drivers/input/touchscreen/tsc2005.c | 262 ++++++++++++++---------------------- 2 files changed, 106 insertions(+), 165 deletions(-) -- 2.1.4