Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp130509lqp; Sat, 8 Jun 2024 08:59:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkHfHyuIHjdLp6m08jvgnc8HglOYEE10ggZuwnBUjbClfRn/AZL2l8L7DFe1NGsO/OJZ95ksvv1kx5HNJ8Zc0sDhF+3H7I2MzbQPAOsQ== X-Google-Smtp-Source: AGHT+IFz/eEA0BmVBm1KAkLrWF8pgTCrcDvG8FOqfwTZNYrtYu9Jo+U49SkUkGCEkZwDGcjQF8TM X-Received: by 2002:a05:6e02:13a6:b0:374:b0d8:6c4 with SMTP id e9e14a558f8ab-375802df81dmr64480475ab.3.1717862361902; Sat, 08 Jun 2024 08:59:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717862361; cv=pass; d=google.com; s=arc-20160816; b=rajuaN6iUYW9C+34/3F/hg3NW3ungFkCzc19mawuOxuPpqSzMKlZKyffGsOQpWZ/w1 CrX8oOiDkOrFTWA3RB0nmztVZMbc7ZI6u+/BAy8Q2Bp4gyhqDZN4vr13lQ55P7tH3YBz Jn9ggW9wg22dKwDpXBdwboNwCvWy06Xqy8SmtKvecPSsebCW+lzgSo/Ikn0P7ryyG+Uq AyqzaBFxGZ4JwmPa+WDd/UxDJpScRFeVFY9RkDNFuC1FGY/YjwvIxb7Mv+cYsiK/fox+ a4/J+7kHHcki2iPKsgbFLbU0X2mXFrX2pty9ttrB+clIDjc2pSOf/LlycrEYRXYQ4l64 gTpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8ITtccch4NoDg3FYwWdqnviGDH0L9HBOx2EITTKCX0g=; fh=QhgSg1Zbhg0k1Y3sexI0DeQQQskTWRSzxoSuuRe9W3s=; b=Q63/zUFexqZa54uCNOAvDYEHycMEqWL4KvXYjohdVmKMVnWdjw9xi1uOXhP9cyFilH C0ZhpBIpV2BVbeivatsjIGMt1QYeJXTTAwx8M66CgEDq+wH8hvvxW9LOkwzt1bvXqSUM eMopfHO+Imtj4Y7UGj9NcP+pEzstAEHYY/TrtC4oR0lXazkFmqDNlXZqGVklinbOSGs1 u0y5Qsnt33ZuZAjfRdThal7BDcguVFJwiuDn7wsOP893v/YFmr8GLYkZcVM2bq/URYuT 6hozppQv1ZJRR2xZNm1/9jR5XrOzzfLZkpjF2l5mVdckgB7FZESfbasdgfEDTa1e0mWr vYXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="vA/5X68/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207119-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207119-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e51b9e3713si1991824a12.385.2024.06.08.08.59.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 08:59:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207119-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="vA/5X68/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207119-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207119-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 335B3282E68 for ; Sat, 8 Jun 2024 15:59:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A4BF17D898; Sat, 8 Jun 2024 15:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vA/5X68/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73D3917B500; Sat, 8 Jun 2024 15:57:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717862241; cv=none; b=inefgA0rBw9kk/cyg6SJHB8/ZOpWa9EM/DmrzxZx/N5keEK3bYOPv4k1ozdGg5HzZ7eNbC/v1HS8fqB2laoY1QDpTgaznCluzgcrVoR8Hw3u+rpa5h8I217Q9iD0iidRkMTFW6w7u4GczFSi+Qkrbr5na25PdiyAqjhIIlmiCPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717862241; c=relaxed/simple; bh=9D6ySfgbWhQOFK6PfMLujLLbbQCJ9ljTc4OjiKugm44=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t6JFGLpL9T5BG71NUnlzJ1lRDG9/Qx0HibPUP9gFpOxYneSbYpvBPGCT43Kr83U8+Trm1M1GOG7mA7rbXDMHOkmuP7Ok4692sFxhxuAhlRDxSGEXyNqHZETtkaB4OPgBzxW1ZFkj/HYeJUY1HaA3TOTamse+CRb+z4Gj87ZLsY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vA/5X68/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CDE9C4AF0D; Sat, 8 Jun 2024 15:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717862240; bh=9D6ySfgbWhQOFK6PfMLujLLbbQCJ9ljTc4OjiKugm44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vA/5X68/2Z7CaJ03EsbxXgLsnwaatwI5YtaEvxnw4Lo1Oj5ubpSO8UVv1c3wWyPbr Tm2uvO78vdLtpdubiWBaPT0oeTUlXqbV/Vv0Lg++htj1i/Ck1aLIZm7D7OY+UJiA7E MiJV1JntjhX0FbrQ8EznjFo4pwX8jgtj6b3OAMoficBKmiCmVg3rviguRmISHhC9FM NGbBHDvxNL+TdKGWDBNenS05wSvnoK/0SEbSAAWvDSUMlME7jGktvlecXwgo8XpPCM 7L2WF0UlpCGGSkEoDd5UISbRhqwIBlpqXhAhp8OHcy2P9P3Wzi15mogWTFeifQePIU l8MyIeTWSMCBg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sFyRU-000000003Q5-0KoV; Sat, 08 Jun 2024 17:57:20 +0200 From: Johan Hovold To: Lee Jones , Mark Brown , Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Linus Walleij , Stephen Boyd , Bryan O'Donoghue , Andy Shevchenko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 07/12] mfd: pm8008: Drop unused driver data Date: Sat, 8 Jun 2024 17:55:21 +0200 Message-ID: <20240608155526.12996-8-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240608155526.12996-1-johan+linaro@kernel.org> References: <20240608155526.12996-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The i2c client driver data pointer has never been used so drop the unnecessary assignment. Reviewed-by: Bryan O'Donoghue Reviewed-by: Stephen Boyd Signed-off-by: Johan Hovold --- drivers/mfd/qcom-pm8008.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c index bab17417aeec..72199840231e 100644 --- a/drivers/mfd/qcom-pm8008.c +++ b/drivers/mfd/qcom-pm8008.c @@ -167,8 +167,6 @@ static int pm8008_probe(struct i2c_client *client) if (IS_ERR(regmap)) return PTR_ERR(regmap); - i2c_set_clientdata(client, regmap); - reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); if (IS_ERR(reset)) return PTR_ERR(reset); -- 2.44.1