commit | 2a7f51a3e08cdaeea78d9e101a0079422a55bbc3 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Jan 21 09:28:53 2012 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Jan 21 15:46:25 2012 +0000 |
tree | aa7bd825268bcd0438f502dbf90de03844cf90c5 | |
parent | 98250221691f728b7cad6deed98866f8847e683f [diff] |
MFD: mcp-core: fix mcp_priv() to be more type safe mcp_priv() does unexpected things when passed a void pointer. Make it a typed inline function, which ensures that it works correctly in these cases. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>