[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbjMLiJtxUpuSuvOBKD-rbybF8baJUBjvP6Hv5baeWY7w@mail.gmail.com>
Date: Thu, 14 Jun 2018 16:27:25 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Zhouyang Jia <jiazhouyang09@...il.com>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: max732x: add error handling for i2c_new_dummy
On Tue, Jun 12, 2018 at 5:28 AM, Zhouyang Jia <jiazhouyang09@...il.com> wrote:
> When i2c_new_dummy fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling i2c_new_dummy.
>
> Signed-off-by: Zhouyang Jia <jiazhouyang09@...il.com>
Patch applied for non-critical fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists