treewide: Use OF_REAL instead of !OF_PLATDATA
Now that we have a 'positive' Kconfig option, use this instead of the negative one, which is harder to understand. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -40,7 +40,7 @@ const struct clk_ops clk_fixed_factor_ops = {
|
||||
|
||||
static int clk_fixed_factor_of_to_plat(struct udevice *dev)
|
||||
{
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
#if CONFIG_IS_ENABLED(OF_REAL)
|
||||
int err;
|
||||
struct clk_fixed_factor *ff = to_clk_fixed_factor(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user