On Thu, Jul 4, 2013 at 3:51 PM, Wei Yongjun wrote:
> From: Wei Yongjun
>
> In case of error, the function syscon_node_to_regmap() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
>
> Signed-off-by: Wei Yongjun
Patch applied
From: Wei Yongjun
In case of error, the function syscon_node_to_regmap() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Signed-off-by: Wei Yongjun
---
arch/arm/mach-u300/regulator.c | 4 ++--
1 file changed, 2 insertions(+),
2 matches
Mail list logo