input: lm8323: apply comments from mainline
PATCH 1/1 input: lm8323: apply comments from mainline
In order to avoid conflicts later, let's sync omap version with the version accepted by mainline after fixing a few comments.
---
lm8323 was recently added to -mm tree, so I'm sending this patch to avoid conflicts with this driver later
The patch titled
input: keyboard: introduce lm8323 driver
has been added to the -mm tree. Its filename is
input-keyboard-introduce-lm8323-driver.patch
drivers/input/keyboard/Kconfig | 1 + drivers/input/keyboard/lm8323.c | 47 +++++++++++++++++++++++++------------- include/linux/i2c/lm8323.h | 15 ++++++++++- 3 files changed, 45 insertions(+), 18 deletions(-)
drivers/input/keyboard/Kconfig +1 -0
@@ -289,6 +289,7 @@ config KEYBOARD_TSC2301 config KEYBOARD_LM8323 tristate "LM8323 keypad chip" depends on I2C + depends on LEDS help If you say yes here you get support for the National Semiconductor LM8323 keypad controller.
drivers/input/keyboard/lm8323.c +31 -16
150 lines not on this page · raw message
include/linux/i2c/lm8323.h +13 -2
@@ -1,7 +1,18 @@/* -* include/lm8323.h +* lm8323.h - Configuration for LM8323 keypad driver. * -* Configuration for LM8323 keypad driver. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation (version 2 of the License only). +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __LINUX_LM8323_H
Signature · 1 line
1.6.1.3
Quoted 5 lines · Felipe Balbi
In order to avoid conflicts later, let's sync omap version with the version accepted by mainline after fixing a few comments.
Signed-off-by Felipe Balbi <[email protected]>
Wait a minute, I forgot one hunk, here's an updated version:
========== cut here ==========
Quoted 1 line
From
370931163e963de1b3cd38d25c1233adebabd103Mon Sep 17 00:00:00 2001
From: Felipe Balbi <[email protected]>
Date: Thu, 19 Feb 2009 19:53:59 +0200
Subject: [PATCH] input: lm8323: apply comments from mainline
In order to avoid conflicts later, let's sync omap version with the version accepted by mainline after fixing a few comments.
--- drivers/input/keyboard/Kconfig | 1 + drivers/input/keyboard/lm8323.c | 47 +++++++++++++++++++++++++------------- include/linux/i2c/lm8323.h | 17 +++++++++++-- 3 files changed, 46 insertions(+), 19 deletions(-)
drivers/input/keyboard/Kconfig +1 -0
@@ -289,6 +289,7 @@ config KEYBOARD_TSC2301 config KEYBOARD_LM8323 tristate "LM8323 keypad chip" depends on I2C + depends on LEDS help If you say yes here you get support for the National Semiconductor LM8323 keypad controller.
drivers/input/keyboard/lm8323.c +31 -16
150 lines not on this page · raw message
include/linux/i2c/lm8323.h +14 -3
@@ -1,7 +1,18 @@/* -* include/lm8323.h +* lm8323.h - Configuration for LM8323 keypad driver. * -* Configuration for LM8323 keypad driver. +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation (version 2 of the License only). +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __LINUX_LM8323_H
@@ -22,7 +33,7 @@ struct lm8323_platform_data {int size_x;int size_y; - int repeat : 1; + int repeat:1;const s16 *keymap;char *pwm1_name;/* Device name for PWM1. */
Signature · 4 lines
1.6.1.3 -- balbi