cpuidle: mvebu: disable the bind/unbind attributes and use builtin_platform_driver
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 2 Oct 2015 23:24:30 +0000 (00:24 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 23 Oct 2015 10:40:48 +0000 (12:40 +0200)
commitab319939a58678c19a68ff10c8a08cef462a3ba6
tree3bb992a3e68375cfa770a24835db6d0118f49e48
parentda1a64f80d8946d51744e48d0ba138c1b17a4852
cpuidle: mvebu: disable the bind/unbind attributes and use builtin_platform_driver

As the driver doesn't support unbinding, nor does it support arbitary
binding of devices, disable the bind/unbind attributes for this driver.
Also, as the driver has no remove function, it can never be modular,
so use builtin_platform_driver() to avoid the module exit boilerplate.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/cpuidle/cpuidle-mvebu-v7.c