[PATCH] drivers: mfd: allow property as NULL in syscon_early_regmap_lookup_by_phandle

2014-05-09 Thread Pankaj Dubey
If we pass syscon device node itself as first parameter to this function there is no need to parse and find syscon device node. So by allowing "property" parameter as NULL allow syscon_early_regmap_lookup_by_phandle to consider passed argument "np" itself as a syscon device node "syscon_np". This

[PATCH] drivers: mfd: allow property as NULL in syscon_early_regmap_lookup_by_phandle

2014-05-09 Thread Pankaj Dubey
If we pass syscon device node itself as first parameter to this function there is no need to parse and find syscon device node. So by allowing property parameter as NULL allow syscon_early_regmap_lookup_by_phandle to consider passed argument np itself as a syscon device node syscon_np. This will