Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS
Subsystems (2)
PATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS
The macros OMAP4_KBD_SYSSTATUS and OMAP4_KBD_SYSSTATUS are not used so remove them.
--- drivers/input/keyboard/omap4-keypad.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/input/keyboard/omap4-keypad.c +0 -2
@@ -36,8 +36,6 @@/* OMAP4 registers */ #define OMAP4_KBD_REVISION 0x00 -#define OMAP4_KBD_SYSCONFIG 0x10 -#define OMAP4_KBD_SYSSTATUS 0x14#define OMAP4_KBD_IRQSTATUS 0x18#define OMAP4_KBD_IRQENABLE 0x1C#define OMAP4_KBD_WAKEUPENABLE 0x20
Signature · 1 line
1.7.5.4
Dmitry Torokhov
maintainerPATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS
Quoted 2 lines · Shubhrajyoti D
The macros
OMAP4_KBD_SYSSTATUSandOMAP4_KBD_SYSSTATUSare not used so remove them.
They document the existing registers and do not add bloat to the generated objects so let's leave them be.
Thanks.
Signature · 1 line
Dmitry
PATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS
On Mon, Nov 26, 2012 at 11:31 PM, Dmitry Torokhov <[email protected]
Quoted 9 lines
wrote:
Quoted 2 lines · Shubhrajyoti D
The macros
OMAP4_KBD_SYSSTATUSandOMAP4_KBD_SYSSTATUSare not used so remove them.They document the existing registers and do not add bloat to the generated objects so let's leave them be.
The objective of the patch is not to prevent bloat.
Actually these registers have power/system impact so it was decided that the drivers will not
configure the sysc registers (infact not define). Currently hwmod configures the registers.
To be safe I thought of deleting it.
Quoted 2 lines
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121127/f77ed45e/attachment.html>
PATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS
In reply to Dmitry TorokhovQuoted 6 lines · Dmitry Torokhov
Quoted 2 lines · Shubhrajyoti D
The macros
OMAP4_KBD_SYSSTATUSandOMAP4_KBD_SYSSTATUSare not used so remove them.They document the existing registers and do not add bloat to the generated objects so let's leave them be.
The objective of the patch is not to prevent bloat.
Actually these registers have power/system impact so it was decided that the drivers will not
configure the sysc registers (infact not define). Currently hwmod configures the registers.
To be safe I thought of deleting it.
Quoted 9 lines
Thanks.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html