From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Fri, 10 Jun 2016 11:50:15 +0200 Subject: [PATCH 03/20] clk: sunxi: tcon-ch1: Do not return a negative error in get_parent In-Reply-To: References: <1463402840-17062-1-git-send-email-maxime.ripard@free-electrons.com> <1463402840-17062-4-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <20160610095015.GS5242@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, May 17, 2016 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard > wrote: > > get_parent is supposed to return an unsigned 8 bit integer, so returning > > -EINVAL is a bad idea. > > > > Remove it. > > > > Reported-by: Dan Carpenter > > Signed-off-by: Maxime Ripard > > Acked-by: Chen-Yu Tsai Applied, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: