commit | b60752f2b20c167859943e001727f0d4da419b23 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Sep 06 13:46:46 2016 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Wed Sep 21 18:52:45 2016 +0100 |
tree | db50775d9c399e510d4ecbeb5c0652dcbc7f7afd | |
parent | cf6e4ca3e53f734f8fcb253a686c1fdbb6a50e85 [diff] |
ARM: sa1111: provide to_sa1111_device() macro Provide a nicer to_sa1111_device macro to convert a struct device to a sa1111_dev. We will need this for drivers when converting them to dev_pm_ops, or removing shutdown methods. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>