[lkml]   [2014]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] pinctrl: berlin: fix an error code in berlin_pinctrl_probe()
On Wed, Jun 11, 2014 at 10:15 AM, Dan Carpenter
<> 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 <>

Patch applied for fixes!

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