summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/geode
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2016-08-16 11:27:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-27 11:41:30 +0300
commitd8ed9e87e6016433b8d178728a5391ea68101bca (patch)
tree5b4a890f5466bbf9aa882c5191eeeb08115429e8 /drivers/video/fbdev/geode
parent60169c3fb78e5cd61cb1343e7f3c5edb72702a04 (diff)
downloadlinux-d8ed9e87e6016433b8d178728a5391ea68101bca.tar.gz
linux-d8ed9e87e6016433b8d178728a5391ea68101bca.tar.bz2
linux-d8ed9e87e6016433b8d178728a5391ea68101bca.zip
fbdev: ssd1307fb: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer dereference later. For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/geode')
0 files changed, 0 insertions, 0 deletions