commit | ff6f46483f0e14b829cd5a71bafcbb1c136a84b6 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Thu Sep 10 15:06:20 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 20 19:32:02 2015 -0700 |
tree | 6a0b127bd5637ce468571a6da2d9bcdb89732b60 | |
parent | cf094ebe4d8b9efbc83c8f13b1b8453a573cbb66 [diff] |
spmi: Auto-populate driver.owner in spmi_driver_register() Populate the owner field of the spmi driver when spmi_driver_register() is called in a similar fashion to how other *_driver_register() functions do it. This saves driver writers from having to do this themselves. Cc: Andy Gross <agross@codeaurora.org> Cc: Gilad Avidov <gavidov@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>