From 154409e4502621022dd6c84a091da350bc80d265 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Fri, 4 Jul 2014 22:24:06 +0200 Subject: [PATCH] mfd: max77686: Don't define dummy function if OF isn't enabled When the CONFIG_OF option was not enabled, a dummy function max77686_i2c_parse_dt_pdata() was defined since this is called unconditionally on probe(). Just always define the real function and conditionally call it if CONFIG_OF is enabled instead. Signed-off-by: Javier Martinez Canillas Signed-off-by: Lee Jones --- Reading git-format-patch failed