From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v6 03/10] gpio: exar: Allocate resources on behalf of the platform device Date: Tue, 20 Jun 2017 10:14:26 +0200 Message-ID: References: <5e21502713a4a65b91a6366e67ab361f650d4b3c.1497033197.git.jan.kiszka@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-io0-f169.google.com ([209.85.223.169]:35577 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbdFTIO2 (ORCPT ); Tue, 20 Jun 2017 04:14:28 -0400 Received: by mail-io0-f169.google.com with SMTP id k93so79340770ioi.2 for ; Tue, 20 Jun 2017 01:14:28 -0700 (PDT) In-Reply-To: <5e21502713a4a65b91a6366e67ab361f650d4b3c.1497033197.git.jan.kiszka@siemens.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Jan Kiszka Cc: Alexandre Courbot , Greg Kroah-Hartman , Linux Kernel Mailing List , "linux-serial@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Sudip Mukherjee , Andy Shevchenko , Sascha Weisenberger On Fri, Jun 9, 2017 at 8:33 PM, Jan Kiszka wrote: > Do not allocate resources on behalf of the parent device but on our own. > Otherwise, cleanup does not properly work if gpio-exar is removed but > not the parent device. > > Signed-off-by: Jan Kiszka > Reviewed-by: Andy Shevchenko > Acked-by: Linus Walleij Patch applied. Yours, Linus Walleij