diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2016-03-30 01:20:42 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2016-03-29 22:56:47 -0700 |
commit | b84a7643279332aca39d4be85d47c0734802c91e (patch) | |
tree | 08987b425b9cd0b5402dd22e6ec0836a2dac3b4e /drivers/acpi/acpi_video.c | |
parent | 1df133c0db64d633bbb9b238aa0e1588e2c5e7d6 (diff) |
spi: spidev: Use 'new_id' sysfs file for enabling spidev
Use sysfs new_id file to enable spidev at runtime. new_id file accepts
bus number and chip select in 'B.C' format.
With reference to the last ML discussion here[1] regarding the solution
for spidev with device trees. This patch adds support to load spidevB.C
via sysfs new_id file as suggested by Greg.
[1] http://thread.gmane.org/gmane.linux.kernel.spi.devel/20331/focus=20369
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
[fixed error handling]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'drivers/acpi/acpi_video.c')
0 files changed, 0 insertions, 0 deletions