Re: [PATCH] misc: add driver for Renesas R-Car Gyro-ADC/speed-pulse interfaces

From: Arnd Bergmann
Date: Sat Jul 13 2013 - 03:58:46 EST


On Saturday 13 July 2013, Sergei Shtylyov wrote:
> > And are you sure you want to control this through sysfs? There's no
> > other better user/kernel apis for it?
>
> I found none, besides ioctl(), as the device driven is rather
> unique. But I thought that sysfs is "ioctl() today", so I went with it...
>

It does sound like it would fit better into IIO than just a misc driver,
even if it's the only hardware of its kind.

Arnd
--
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/