Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp687173ybk; Wed, 13 May 2020 10:22:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZhYf161gnq9GTeN3vuz8h2P3ZB8LwfZXNHSdXRizJqn0btVhqbeqDwq2RgfUQMfIkeGXy X-Received: by 2002:a17:906:2ad4:: with SMTP id m20mr62307eje.324.1589390527791; Wed, 13 May 2020 10:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589390527; cv=none; d=google.com; s=arc-20160816; b=uC6WJdzmec3QzujNGjBimnp4hgmdEwv+SFaWH9X4t3OtWSgNN/ycuF1QRBVLaodhDQ hDKe5ld1vLbitqLY0nDfcv5kjWLiZ2LYeHFI7eygMTagVNfMEDVY1KzxWtwQ2mskHkWN C0+CDYmksdFOfxdA65kI3/dxmc3PUztpEN3F8bXCg+XA4dAP3ai6kcA7n0QmeENMhe9k UywLDcB5WrfJTUXIh/1VDSmE3M05ffzoml9a7M/JP7cXq3IABoiZC6h3UpoAbFmKEzmm rP6tKu4IU/AD8qMe4u8WLA/cskeojfjx+6gzDAtRMOj5LsOnieyjrhH+b7NTXIzveZsd Px0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1W5H6dGOEkGWBgNOPpkRvp5ErWI1HdVM+iv3UwbY6Ys=; b=GfNXZoWnuSl9FySAgCFiWTg5NbNtiuDZk7GY1RtzCmvzv3Cpv0WK1ScVk0u6APbn4E qGwlloYIvncDIR63TF1Chzy6kWYw6rQVtxz/4Se9DS8+TCNvvXdYuc8oT/gxb9At4031 MhYGNqnkjaL6PTrhwLBqS9C/lw9yaWuYMsSUy6PS8lUBtGMTdeKg1SiRFWLbqaQ+zume s1CfOSY4LX/pWiSTKEZGgbNRDCT9SBr/LyckOU+xHAqHf1ulx0EK9z+dBpFqIn1fiDf/ a7AaLa/qqETrNDtlOd1y7ezaPHd4zZ1/lh/qMLtFQT69Z3IDA8XMYXBnjW5XsF37x25b CLcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZPo8mjFH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd7si188183ejb.236.2020.05.13.10.21.43; Wed, 13 May 2020 10:22:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZPo8mjFH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389855AbgEMRTf (ORCPT + 99 others); Wed, 13 May 2020 13:19:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732731AbgEMRTf (ORCPT ); Wed, 13 May 2020 13:19:35 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41BB1C061A0C; Wed, 13 May 2020 10:19:35 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id 9so46547pgr.3; Wed, 13 May 2020 10:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1W5H6dGOEkGWBgNOPpkRvp5ErWI1HdVM+iv3UwbY6Ys=; b=ZPo8mjFHFU3+3LCg5UAPIyHuQKwBqAvlznyue+P9a3sjagqcfWfgq5eUmdbmUb28Nl iwCp2/OAg7DjV7rIwzvMxnUlRICFVRwYgczrc50GcyN+PQHPXFZlM8TMqhn5GjtmRCIc Ysr/M+TpSiupQ2UWw0+IIVVDcNsnXpxzxI6SMMjxkN3ou/6qG5eEFFEBfNPTcDOha/vq iPjdKoYrmkbD8347Ie1Wc/bkx714WZGMlPdx+MEsGGf2fH5ensA015poiwWOeuYXxnVq XCn5iFjl/18Re052CDgLIkEm2rOxcKVfE2YgbwYtFzdW+XDXfKHnZDY+OVojPX+SWzp/ 9J8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1W5H6dGOEkGWBgNOPpkRvp5ErWI1HdVM+iv3UwbY6Ys=; b=KYiHqObpYo5O4p7TR3a/tiZquQ6eQEVe1HZEhVsFBgdzQh4/CbIW38ia/ncSFgNF1e EDv/dHTrxHMkfg6IZriTkj9I3mhn5LqMFmgfghkRAtbTq41hgo1zyrB0/rxO4QjEljz3 zPMPi60ZSeL/Myu3ioC+38M9gYhtFGQ4hRM3yJnH8tStq+Oo7ZfpD2f0TyHCWc/DbmeS BAv/rN+zAmaxluPa8k3S49ogZSHHsi3AkdjbUFfX3y2I0oJveZp/VMnaT4Epp2b/vQFQ maGzGTBQFod+e4wW5xDmJxmsASkjxdmdTYHVGee/50nFgHHCn3CRLpGgtQf5zV7qfas6 3NYQ== X-Gm-Message-State: AOAM533JR0OuKEdZTPLelgASpqNzKAZSArNz+9UnXkUGiE3ScmVUSZBd zCeFJ+OWwHBq3hj6mt8uuzA= X-Received: by 2002:a63:b219:: with SMTP id x25mr363136pge.66.1589390374527; Wed, 13 May 2020 10:19:34 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3c2a:73a9:c2cf:7f45]) by smtp.gmail.com with ESMTPSA id gz19sm15932422pjb.7.2020.05.13.10.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 10:19:33 -0700 (PDT) Date: Wed, 13 May 2020 10:19:31 -0700 From: Dmitry Torokhov To: Anson Huang Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] input: keyboard: imx_sc_key: Use devm_add_action_or_reset() to handle all cleanups Message-ID: <20200513171931.GI89269@dtor-ws> References: <1584082751-17047-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584082751-17047-1-git-send-email-Anson.Huang@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2020 at 02:59:11PM +0800, Anson Huang wrote: > Use devm_add_action_or_reset() to handle all cleanups of failure in > .probe and .remove, then .remove callback can be dropped. > > Signed-off-by: Anson Huang Applied, thank you. -- Dmitry