Skip to content
Commit 2a7f51a3 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 98250221
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment