Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752443AbdFTIOb (ORCPT ); Tue, 20 Jun 2017 04:14:31 -0400 Received: from mail-io0-f178.google.com ([209.85.223.178]:33037 "EHLO mail-io0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbdFTIO2 (ORCPT ); Tue, 20 Jun 2017 04:14:28 -0400 MIME-Version: 1.0 In-Reply-To: <5e21502713a4a65b91a6366e67ab361f650d4b3c.1497033197.git.jan.kiszka@siemens.com> References: <5e21502713a4a65b91a6366e67ab361f650d4b3c.1497033197.git.jan.kiszka@siemens.com> From: Linus Walleij Date: Tue, 20 Jun 2017 10:14:26 +0200 Message-ID: Subject: Re: [PATCH v6 03/10] gpio: exar: Allocate resources on behalf of the platform device 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 453 Lines: 14 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