Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to 2.6.35

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Tuesday, August 10, 2010 - 10:08 am

On Tue, Aug 10, 2010 at 07:59:13PM +0900, Masayuki Ohtak wrote:

A whole major number for a single driver and a single minor?

Please no, just dynamically allocate it if you really need it.

And with the char node, you are creating new ioctls that duplicate the
gpio layer in the kernel, please don't do that.  Just hook into the
proper gpio subsystem and you will not need any character device at all.

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to ..., Greg KH, (Tue Aug 10, 10:08 am)