From patchwork Fri Feb 2 13:43:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 1894552 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=OG8c1eFp; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=wOW+vxu/; dkim=fail reason="signature verification failed" header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=bkFlwRD/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TRH7H6h6xz23gx for ; Sat, 3 Feb 2024 00:44:11 +1100 (AEDT) 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=At64OAR9HqHdUkAKiUVORlr8q1zutVGgQc7UFHpPz84=; b=OG8c1eFpZULlpp RB0BpLkXCxVn7wndGgsbC5hbkTI3dlGTsvQhPox51KUOqBjzqRZ1Q1efobSpd2hZnI/4bYR3kwcR9 KOc2aTz1ztvu1kPmDBj1Kw1zKxiBkoYAm2XHkQSTk3vLYAFYxg+nZgwxo6+dClET9VknROeLKKR7h RUumcRZQVa0N2hL3De3ze6ZphOz3v56gBpFrNwg16ruVUHHZfa75gI3PY8bo3tVKnZy7iFs82e+CG ixKIJW3Ou5am51CeXyC35Mw3bOTgQaZnYG5Kj2lDj9Ji6y/LWbZHsX5UojDinlsJXY4lXZahKSX/y tgJ+TDvgAmDJYsxFeHrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVtpr-0000000Bdwy-0IeR; Fri, 02 Feb 2024 13:44:03 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVtpb-0000000BdrC-1fel for opensbi@lists.infradead.org; Fri, 02 Feb 2024 13:43:58 +0000 From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706881415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r7h7cM369Sjwo6yjt3+1VA9wKpvdPOhdQaFEHaqIYkE=; b=wOW+vxu/wLFm8piherx2kcYntj06ZkXsomttuLL9pyWxM8/p7X1kB2CyzQ+O14gNoQBTJD LfBzr3aZiLU5Q+IilyIK2/tucslUAC1nWJ04tFosS3Z3+WXnBCR7CIQes+d/r/WLLgt/FJ kI3B+lceOSuWLs+wFXfYmdxh6qHh+wsB82gQAUr9uHx71FCoTVxzaj08pCGh1WXoVL14Ai b8K+IyO6p+CsplTwKi06ddoSYjlSGJ8G7yamiF+pu2qeZyMDEn2y76gXsfbf74g+NuLuuJ tRIuniGWGkXYUVCtAaNpU4vnFXCcEUf5tZXUDV4N9FQmtTKqe6gGLqTDK2bIWg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706881415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r7h7cM369Sjwo6yjt3+1VA9wKpvdPOhdQaFEHaqIYkE=; b=bkFlwRD/QdCZQ2CMm+zElxgZ7SgJm8jEvVJiN/haEvbwYgFgVOK+2eTnJdiqT8e1W49tCu ozxstfR8BgxQTFCw== To: opensbi@lists.infradead.org, Cheehong Ang , Wei Liang Lim , minda.chen@starfivetech.com Cc: Nam Cao Subject: [PATCH v3 5/7] platform: starfive: drop "compatible" from struct pmic Date: Fri, 2 Feb 2024 14:43:26 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_054347_744662_DB56B620 X-CRM114-Status: UNSURE ( 7.40 ) X-CRM114-Notice: Please train this message. X-Spam-Note: SpamAssassin invocation failed X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The member "compatible" of struct pmic is not used. Delete it. Signed-off-by: Nam Cao --- platform/generic/starfive/jh7110.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c index 385e09c..f64e016 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -23,7 +23,6 @@ struct pmic { struct i2c_adapter *adapter; u32 dev_addr; - const char *compatible; }; struct jh7110 { @@ -205,7 +204,6 @@ static int pm_reset_init(void *fdt, int nodeoff, return rc; pmic_inst.dev_addr = addr; - pmic_inst.compatible = match->compatible; i2c_bus = fdt_parent_offset(fdt, nodeoff); if (i2c_bus < 0)