]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: spi: validate spi master register
authorRui Miguel Silva <rui.silva@linaro.org>
Tue, 15 Dec 2015 19:09:55 +0000 (19:09 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Dec 2015 22:32:12 +0000 (14:32 -0800)
commita92a2d46acd0bfb97ba409d9d663c270cb240715
tree247c0137fbba7dc82567c2e668d57d04af2dd1fa
parent5fbd1a0bcb02a2fda30849539dee0b91c4009c42
greybus: spi: validate spi master register

Check for error in registering spi master, even though the current code
will fail a little more ahead when trying to register devices in the
master.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reported-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/spi.c