From patchwork Sun Jun 11 01:36:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 692341 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 6E019C77B7A for ; Sun, 11 Jun 2023 01:46:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjFKBqz (ORCPT ); Sat, 10 Jun 2023 21:46:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbjFKBqy (ORCPT ); Sat, 10 Jun 2023 21:46:54 -0400 Received: from 10.mo550.mail-out.ovh.net (10.mo550.mail-out.ovh.net [178.32.96.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9BD1B9 for ; Sat, 10 Jun 2023 18:46:52 -0700 (PDT) Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.146.1]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id E6FC9230FE for ; Sun, 11 Jun 2023 01:37:08 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-ccksr (unknown [10.110.208.180]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6A0951FD6F; Sun, 11 Jun 2023 01:37:08 +0000 (UTC) Received: from etezian.org ([37.59.142.102]) by ghost-submission-6684bf9d7b-ccksr with ESMTPSA id 3iEMFkQlhWTpXQAABRW5BA (envelope-from ); Sun, 11 Jun 2023 01:37:08 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00404c35923-03c9-42db-a1df-38cf9e3526a1, 457C5B0377F35283987BC361B5457E8A7F11D0C4) smtp.auth=andi@etezian.org X-OVh-ClientIp: 93.66.31.89 From: Andi Shyti To: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, Andi Shyti Subject: [PATCH 0/3] i2c: busses: nomadik cleanups Date: Sun, 11 Jun 2023 03:36:58 +0200 Message-Id: <20230611013701.1464025-1-andi.shyti@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2685271278688471623 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduuddggeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehnughiucfuhhihthhiuceorghnughirdhshhihthhisehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvghrnheptdevueeiheeftedujefhheelieejvdevteelfefhheeutdelkedtveejudejgfdvnecukfhppeduvdejrddtrddtrddupdelfedrieeirdefuddrkeelpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorghnughisegvthgviihirghnrdhorhhgqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhivdgtsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi, while browing the i2c code I spotted the unused goto. The other two patches come naturally. Andi Andi Shyti (3): i2c: busses: i2c-nomadik: Remove unnecessary goto label i2c: busses: nomadik: Use devm_clk_get_enabled() i2c: busses: nomadik: Use dev_err_probe() whenever possible drivers/i2c/busses/i2c-nomadik.c | 45 +++++++++----------------------- 1 file changed, 13 insertions(+), 32 deletions(-)