From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE67DC433EF for ; Mon, 8 Nov 2021 12:53:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46D1B61159 for ; Mon, 8 Nov 2021 12:53:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 46D1B61159 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xqHW1ujuy79GCUA/WfaRu7QlRD/WNTmIQG1p8ZUn8dg=; b=hQEsCcC6rJXGWl 4HvfpMkP4pG65t7OWVS1K6VlF40EzYDYm/fwyMaLIKQgfflQBMDlwCnXx1pb4W2usv6BZbDnkbfiY 4RJYpQRcmHnutwsOyhK3nIFDngGfnpv54Y3bpqeWgPYMrgSMVhIiGXCpH6Pb93mnKcsj1BRqeHh/o oUKp804YxhVSwVEe1tTqI6Br/5j22+k+F5Xk2oEAIYPsr7s8OILVCRiUeLYrhIyW/HmtCtWiUp2/+ rTHxDh88PAVxQ06uom0v8iSlBhiDYFcAx3EzKcBvj93tl8vesBQXpFGAQJA+9VO6shWgnLL57PcYJ Wj4QcJb0BbAsnSbIzD7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mk480-00GQjz-Bs; Mon, 08 Nov 2021 12:52:00 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mk47x-00GQiu-JD; Mon, 08 Nov 2021 12:51:58 +0000 Received: from ip5f5a6e92.dynamic.kabel-deutschland.de ([95.90.110.146] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk47t-0000Gj-7b; Mon, 08 Nov 2021 13:51:53 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Andy Shevchenko , Bartosz Golaszewski , Jianqun Xu , Linus Walleij , Sai Krishna Potthuri , Andrew Morton , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Andy Shevchenko Cc: Bamvor Jian Zhang , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Patrice Chotard , Michal Simek , Andy Shevchenko Subject: Re: [PATCH v1 07/19] pinctrl/rockchip: Switch to use devm_kasprintf_strarray() Date: Mon, 08 Nov 2021 13:51:52 +0100 Message-ID: <2888417.ct0yhlqaG8@diego> In-Reply-To: <20211105124242.27288-7-andriy.shevchenko@linux.intel.com> References: <20211105124242.27288-1-andriy.shevchenko@linux.intel.com> <20211105124242.27288-7-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211108_045157_670078_410DB7F7 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Freitag, 5. November 2021, 13:42:30 CET schrieb Andy Shevchenko: > Since we have a generic helper, switch the module to use it. > > As a side effect, add check for the memory allocation failures and > cleanup it either in error case or when driver is unloading. > > Signed-off-by: Andy Shevchenko Reviewed-by: Heiko Stuebner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel