Skip to content
Commit 57691a1e authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: ads7846 - make sure we do not change platform data



Let's declare platform data a const pointer so that we don't accitentally
change it. Also fetch it with dev_get_platdata().

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 67bf12ca
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