Re: [PATCH] clk: mxs: Remove unneeded NULL pointer check
From: Fabio Estevam
Date: Tue Dec 11 2012 - 05:33:21 EST
Shawn/Mike,
On Wed, Nov 21, 2012 at 7:33 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>
> mxs platform has been converted to device tree.
>
> There is no need to check if np is NULL after doing:
>
> np = of_find_compatible_node(NULL, NULL, "fsl,imx[23/28]-clkctrl");
>
> ,as it will always be non-NULL.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
Does this patch look good?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/