Messages in this thread | | | Date | Wed, 30 Apr 2014 15:07:18 +0100 | From | Lee Jones <> | Subject | Re: [PATCH] mfd: syscon: allow property as NULL in syscon_regmap_lookup_by_phandle |
| |
> 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_regmap_lookup_by_phandle to > consider passed argument "np" itself as a syscon device node "syscon_np". > This will help us in avoiding addition of "syscon" property in a device node > which points back to same device node in device tree. > > Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> > --- > drivers/mfd/syscon.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-)
Seems reasonable. Applied, thanks.
-- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |