[PATCH v2] misc: atmel-ssc: Handle return value of clk_prepare_enable and clk_prepare

Greg KH gregkh at linuxfoundation.org
Sat Jun 3 02:50:30 PDT 2017


On Fri, Jun 02, 2017 at 11:09:02AM +0530, Arvind Yadav wrote:
> clk_prepare_enable() and clk_prepare() can fail here and
> we must check its return value.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>
> ---
>  drivers/misc/atmel-ssc.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

What changed from v1?  Always put that information below the --- line.

v3 please?



More information about the linux-arm-kernel mailing list