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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2591C05027 for ; Fri, 10 Feb 2023 14:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231933AbjBJO4X (ORCPT ); Fri, 10 Feb 2023 09:56:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232439AbjBJO4X (ORCPT ); Fri, 10 Feb 2023 09:56:23 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79F946C7E4; Fri, 10 Feb 2023 06:56:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676040982; x=1707576982; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AThVWBNveoz/JpJx8JnUOLPccE8eXG1Vr5Mj2Xb9+bA=; b=D19G9W1o7ILSl3LxrbjYRtPHeHn6OFuuvFHnule3i1+7hS7TzaK65/7/ GAWz81Xr6IE0rS95lGVy8PM2Mczbvq55Qm4cN9NOhLC9NUrqreqJB0leR Drjj3djjcAF1aHRMs8HlxIXaMqbxtuyiYWlgJETMIBHzWNhElyoqJcusR jgoXPbmJNAWcveseh+GeX9UYxF84rQUpFD3SvI+ADnMLQI1PrcnabTmOl +2LZPDZI88rdv0Ydh6V1EMtKqGNzdCDnrIQ1efJIxpTOIoXZMkGciL6WT 46PAI7OzLWMfSRrg4cd61rkbBJMGkUmzxBNGNt/povTIom89ZZU6HGyMY A==; X-IronPort-AV: E=McAfee;i="6500,9779,10617"; a="357836321" X-IronPort-AV: E=Sophos;i="5.97,287,1669104000"; d="scan'208";a="357836321" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 06:56:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10617"; a="668079983" X-IronPort-AV: E=Sophos;i="5.97,287,1669104000"; d="scan'208";a="668079983" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 10 Feb 2023 06:56:18 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id D34B81C5; Fri, 10 Feb 2023 16:56:57 +0200 (EET) From: Andy Shevchenko To: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ludovic Desroches , Linus Walleij , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Andy Shevchenko Subject: [PATCH v1 0/5] pinctrl: at91: Cleanups Date: Fri, 10 Feb 2023 16:56:51 +0200 Message-Id: <20230210145656.71838-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The kasprintf() patch makes me look into the driver code and besides missed fix, there is a room to improve. Hence this series. (for now not even compile tested) Andy Shevchenko (5): pinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2) pinctrl: at91: Don't mix non-devm calls with devm ones pinctrl: at91: Use of_device_get_match_data() pinctrl: at91: Use dev_err_probe() instead of custom messaging pinctrl: at91: Utilise temporary variable for struct device drivers/pinctrl/pinctrl-at91.c | 164 ++++++++++++++------------------- 1 file changed, 67 insertions(+), 97 deletions(-) -- 2.39.1 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E1BE4C636CD for ; Fri, 10 Feb 2023 14:57:29 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DcbBiIdDRHGsv94dFnIwZ5l5Nc9ivJlai2EZvbEEg/A=; b=3YwKl0iF7SChah cDIsb+zKTAaZjXZhHML3PZ1zGlC5PE47UMc6M/dWoZuWd8Ln/tOUCIQYmc/hxp05RGgLfSLDD0wCr k4qwZgoe7mQxmgC7IWPP0s+p/ReqmvZ2UaL35Na11Vys1RD29T1J3anloVuBH7sP28g2SrhTDEkME WA+vWnzYzrfEexa1YScgM3wxR3A8nGrrWL7q+w207dzV6FgYXF0KZvuHOuKDh0hp9DjFU9TBvpGQj 9Y8G0r8BwA3RZnMjM0rxnd4slPb8h0skfb5vFG3aNh4RCulJ9HWTSsYrdIla06xCX+w9Z0C3iFOGq mnQTUgTP8ca5QnmC87Sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQUpB-00682h-C1; Fri, 10 Feb 2023 14:56:29 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQUp7-0067zU-Qi for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2023 14:56:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676040985; x=1707576985; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AThVWBNveoz/JpJx8JnUOLPccE8eXG1Vr5Mj2Xb9+bA=; b=fmRbwpZj/RootB1bFBC8thG105gIJQ5wJB92Dsr791xFm4oVZ5vjbEXR a0jcEJ/aORwfOEnPE8u6HK1mCCRSYy01TwtyoK+U9EzBx4q521alwko7x 4Za0QhXLGL3bMtvnm/0RRHJ+MGfQgj1IEKr6x0LNFScqL5d3SHmrSBhYp R4+sKsWljPRkdf8TH8xqwdkX9SBCBWcBuxGRl5N/+223CO74qAaBcIg4z zPHgnz+85GUtr1i2ypNzyGDuVe6OOWY0p005foytDm2ogvru/B30yFOPn s6IjHzY4Dx1HWsqvHdmEyUQ2WUp/CdaT/W1FF+gsgJit9D5YKmB5oVAXc A==; X-IronPort-AV: E=McAfee;i="6500,9779,10617"; a="357836320" X-IronPort-AV: E=Sophos;i="5.97,287,1669104000"; d="scan'208";a="357836320" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2023 06:56:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10617"; a="668079983" X-IronPort-AV: E=Sophos;i="5.97,287,1669104000"; d="scan'208";a="668079983" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 10 Feb 2023 06:56:18 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id D34B81C5; Fri, 10 Feb 2023 16:56:57 +0200 (EET) From: Andy Shevchenko To: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/5] pinctrl: at91: Cleanups Date: Fri, 10 Feb 2023 16:56:51 +0200 Message-Id: <20230210145656.71838-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230210_065625_918635_2B61F1F5 X-CRM114-Status: GOOD ( 10.07 ) 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: , Cc: Alexandre Belloni , Linus Walleij , Ludovic Desroches , Andy Shevchenko , Claudiu Beznea 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 The kasprintf() patch makes me look into the driver code and besides missed fix, there is a room to improve. Hence this series. (for now not even compile tested) Andy Shevchenko (5): pinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2) pinctrl: at91: Don't mix non-devm calls with devm ones pinctrl: at91: Use of_device_get_match_data() pinctrl: at91: Use dev_err_probe() instead of custom messaging pinctrl: at91: Utilise temporary variable for struct device drivers/pinctrl/pinctrl-at91.c | 164 ++++++++++++++------------------- 1 file changed, 67 insertions(+), 97 deletions(-) -- 2.39.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel