Re: [PATCH 2/8] clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()
From: Stephen Boyd
Date: Fri Apr 21 2017 - 22:45:32 EST
On 04/20, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Thu, 20 Apr 2017 07:34:54 +0200
>
> The script "checkpatch.pl" pointed information out like the following.
>
> * CHECK: Comparison to NULL could be written "!drvdata"
>
> Thus adjust this expression.
>
>
> * WARNING: Possible unnecessary 'out of memory' message
>
> Thus remove such a statement here.
>
> Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project