Re: [PATCH] input: joystick: Adding Austria Microsystem AS5011 joystick driver (second version)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Trilok Soni
Date: Friday, December 31, 2010 - 3:14 am

Hi Fabien,

On 12/30/2010 4:07 PM, Fabien Marteau wrote:

Please move this along with GPL text down below.


This too.


Please re-arrange these functions in such a way that you don't need
these forward declarations.


No need to mention :)


casting from void * not required.


Do you need this lock? Please explain.


As mentioned above no casting required.


No need to metnion.


No CamelCases please. Please run scripts/checkpatch.pl on your patch before submission.


What is g_num++ and why it has to be global?


Please explain why MANGLING required.


casting not required for last param.


So much for name? why not just put it like "as5011_joystick" in the call itself.


MODULE_DEVICE_ALIAS

no need 


These should move to .c file.


no CamelCases please


You should better do gpio_request/free etc, in the driver itself,
and anyother thing can be left out in these hooks.


no need


no need


---Trilok Soni


-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] input: joystick: Adding Austria Microsystem ..., Trilok Soni, (Fri Dec 31, 3:14 am)
Re: [PATCH] input: joystick: Adding Austria Microsystem ..., Dmitry Torokhov, (Sun Jan 2, 12:41 am)
Re: [PATCH] input: joystick: Adding Austria Microsystem ..., Dmitry Torokhov, (Sun Jan 2, 12:58 am)