Re: [PATCH v2 1/3] ECI: input: introduce ECI accessory input driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Sunday, January 2, 2011 - 1:19 am

Hi Tapio,

On Thu, Dec 30, 2010 at 03:36:57PM +0200, tapio.vihuri@nokia.com wrote:

Please keep Makefile and Kconfig sorted alphabetically.


Consider switching to sparse keymap library. You won't be needing ugly
KEY_MAX + SW_XXX hacks and it will also support remapping keys from
userspace.


Do not break strings on 80 column boundaries, wither align the arguments
differently or just go past 80 columns, like this:

			dev_err(eci->dev,
				"Unable to control headset microphone\n");


Should be 0 I think, and not have a parameter, preferably

static inline int eci_initialize_debugfs(void)
{
	return 0;
}


cpu_to_be16()??? This looks really wierd.


Should it be dsimple 0/1? How is this attribute supposed to be used?


Same here. Should it be in debugfs probably?


I do not understand this comment.


__set_bit(), no neded to lock bus.


What does this device do?


Thank you.

-- 
Dmitry
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 2/3] ECI: introducing ECI bus driver, tapio.vihuri, (Thu Dec 30, 6:36 am)
[PATCH v2 3/3] ECI: adding platform data for ECI driver, tapio.vihuri, (Thu Dec 30, 6:36 am)
Re: [PATCH v2 1/3] ECI: input: introduce ECI accessory inp ..., Dmitry Torokhov, (Sun Jan 2, 1:19 am)