diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-21 10:28:53 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-21 16:46:25 +0100 |
commit | 2a7f51a3e08cdaeea78d9e101a0079422a55bbc3 (patch) | |
tree | aa7bd825268bcd0438f502dbf90de03844cf90c5 /drivers/mfd/ucb1x00-core.c | |
parent | MFD: mcp-core: fix complaints from the genirq layer (diff) | |
download | linux-2a7f51a3e08cdaeea78d9e101a0079422a55bbc3.tar.xz linux-2a7f51a3e08cdaeea78d9e101a0079422a55bbc3.zip |
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>
Diffstat (limited to 'drivers/mfd/ucb1x00-core.c')
0 files changed, 0 insertions, 0 deletions