state: provide dummy implementations for some functions when STATE is disabled
This allows to simplify some callers as can be seen from the
phytec-som-am335x/board.c change. (The check for state != NULL could be
dropped already before.)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a672ca3 commit 9bbaa740f6a86f04a27b5ed79ed7d6697123eae5
@Uwe Kleine-König Uwe Kleine-König authored on 11 Sep 2019
Sascha Hauer committed on 14 Oct 2019
Showing 2 changed files
View
arch/arm/boards/phytec-som-am335x/board.c
View
include/state.h