Re: [PATCH 01/19] bh1770glc: added input device interface

From: Greg KH
Date: Mon Jun 17 2013 - 18:52:45 EST


On Thu, Jun 13, 2013 at 08:20:35PM +0200, Andi Shyti wrote:
> The driver generates an event in /dev/input/ under the name
> 'bh1770'. It's a switch event where is reported '0' or '1'
> whenever the sensor detects something crossing the threshold.
>
> Signed-off-by: Onur Atilla <oatilla@xxxxxxxxx>
> Signed-off-by: Phil Carmody <pc@xxxxxxxx>
> Signed-off-by: Andi Shyti <andi@xxxxxxxxxxx>
> ---
> drivers/misc/bh1770glc.c | 58 +++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 57 insertions(+), 1 deletion(-)

Doesn't this mean that this driver is now an "input" driver, so it
shouldn't be using the odd sysfs api, and should move to the
drivers/input/ directory tree?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/