Re: [PATCH RFC] spidev.c: add sysfs attributes for SPI configuration

From: Federico Vaga
Date: Thu Dec 20 2012 - 10:30:44 EST


On Wednesday 19 December 2012 15:09:25 Grant Likely wrote:
> Not a good idea. sysfs is not a good place for operational
> interfaces. Please use the spi character devices for direct
> manipulation of the SPI configuration.

Hello,

Can you explain why it is not a good idea? I do not understand; what
is the advantage of ioctl through char device? Or what it the issue
with sysfs?

Thank you very much


--
Federico Vaga
--
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/