From patchwork Tue Jun 6 01:20:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 691075 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 3E5D5C7EE24 for ; Tue, 6 Jun 2023 02:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230499AbjFFCkl (ORCPT ); Mon, 5 Jun 2023 22:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjFFCkk (ORCPT ); Mon, 5 Jun 2023 22:40:40 -0400 X-Greylist: delayed 4201 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 05 Jun 2023 19:40:37 PDT Received: from 16.mo582.mail-out.ovh.net (16.mo582.mail-out.ovh.net [87.98.139.208]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 565E4116 for ; Mon, 5 Jun 2023 19:40:37 -0700 (PDT) Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.4.200]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 64F43247C6 for ; Tue, 6 Jun 2023 01:21:47 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-4prwk (unknown [10.110.171.23]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5E87C1FDB4; Tue, 6 Jun 2023 01:21:44 +0000 (UTC) Received: from etezian.org ([37.59.142.101]) by ghost-submission-6684bf9d7b-4prwk with ESMTPSA id JjxENSiKfmRbAwAAf+gIYQ (envelope-from ); Tue, 06 Jun 2023 01:21:44 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G0048c33b239-8606-43e5-a295-42be09ae1121, 89204758E3263BAD5AD9D1E9907359A1AF45ECBD) smtp.auth=andi@etezian.org X-OVh-ClientIp: 178.238.172.216 From: Andi Shyti To: Mark Brown Cc: Krzysztof Kozlowski , Alim Akhtar , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Andi Shyti Subject: [PATCH 0/2] spi: s3c64xx: Cleanups Date: Tue, 6 Jun 2023 03:20:49 +0200 Message-Id: <20230606012051.2139333-1-andi.shyti@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 9956051402834381383 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgedttddggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehnughiucfuhhihthhiuceorghnughirdhshhihthhisehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvghrnheptdevueeiheeftedujefhheelieejvdevteelfefhheeutdelkedtveejudejgfdvnecukfhppeduvdejrddtrddtrddupddujeekrddvfeekrddujedvrddvudeipdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorghnughisegvthgviihirghnrdhorhhgqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhsrghmshhunhhgqdhsohgtsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Hi, two small cleanups in the probe function. The first puts in use the managed spi master allocation while the second implements the dev_err_probe() function. Thanks, Andi Andi Shyti (2): spi: s3c64xx: Use the managed spi master allocation function spi: s3c64xx: Use dev_err_probe() drivers/spi/spi-s3c64xx.c | 81 +++++++++++++++------------------------ 1 file changed, 30 insertions(+), 51 deletions(-)