lkml.org 
[lkml]   [2014]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch] pinctrl: berlin: fix an error code in berlin_pinctrl_probe()
From
On Wed, Jun 11, 2014 at 10:15 AM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:

> We are returning success here because PTR_ERR(NULL) is zero. We should
> be returning -ENODEV.
>
> Fixes: 3de68d331c24 ('pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs')
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Patch applied for fixes!

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2014-07-05 02:01    [W:0.051 / U:2.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site