ARM: rpi: avoid NULL dereference on unknown rev.
"model" pointer is NULL if current board revision isn't in the list of known
boards.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e148310 commit 823d116529647af29ccfe8f7dcfc7f4ea43122fe
@Tomaz Solc Tomaz Solc authored on 12 Feb 2019
Sascha Hauer committed on 12 Feb 2019
Showing 1 changed file
View
arch/arm/boards/raspberry-pi/rpi-common.c