[PATCH 03/20] clk: sunxi: tcon-ch1: Do not return a negative error in get_parent

Maxime Ripard maxime.ripard at free-electrons.com
Fri Jun 10 09:50:15 UTC 2016


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
> <maxime.ripard at free-electrons.com> 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 <dan.carpenter at oracle.com>
> > Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> 
> Acked-by: Chen-Yu Tsai <wens at csie.org>

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: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160610/7b95d042/attachment.sig>


More information about the dri-devel mailing list