Skip to contentSkip to conversation

Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS

PATCH New Shubhrajyoti D 3 participants 4 messages Nov 26, 2012 – Nov 27, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index c05f98c..d2b72b7 100644
@@ -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
maintainer
#1 lore raw

PATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS

Quoted 2 lines · Shubhrajyoti D

The macros OMAP4_KBD_SYSSTATUS and OMAP4_KBD_SYSSTATUS are 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
#2 lore raw

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_SYSSTATUS and OMAP4_KBD_SYSSTATUS are 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>

#3 lore raw

PATCH 1/1 Input: omap4-keypad: Remove the OMAP4_KBD_SYSCONFIG and OMAP4_KBD_SYSSTATUS

In reply to Dmitry Torokhov
Quoted 6 lines · Dmitry Torokhov
Quoted 2 lines · Shubhrajyoti D

The macros OMAP4_KBD_SYSSTATUS and OMAP4_KBD_SYSSTATUS are 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