Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1044910rwd; Tue, 13 Jun 2023 04:13:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4c5qLVlnqnkN/T36a0tcku9gSqJlnTVfmewoNMwCbFtKamkCQr6WkWNwxLFYpDFXxi3503 X-Received: by 2002:a17:907:6d97:b0:973:d953:4bf7 with SMTP id sb23-20020a1709076d9700b00973d9534bf7mr14293703ejc.48.1686654799257; Tue, 13 Jun 2023 04:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686654799; cv=none; d=google.com; s=arc-20160816; b=ivQIJQQRYbuFpx4Ks93O3B3Cpv+lBiMwsJSSQLNE1GbEH5uTG7oSaeiGqyn/attA7C F1O8QS1jzWg9DLNNv3uEcSNQSwrMjU6DMYfxv1SZYapv6ktt0gxQ7Wzf03P1gaorxAVm UEjsk2E0I1R/kZYZGrtbSZGmMuK/sI79LO4komExQVMPHPPktM326nXzGLYnCyBHBs21 dDs7pt6hulVTp7YBgecPsr5xAcaewOg5H+yPw0aSN+sjyJCqr1W3/8IF6qI5i8vIIJet ILM+f8mjUo3fi0zoO3UsDB6Lctnk4UtFh9cqfV82gWqcHWggfshshOPUbeBn2YUnyccV wHlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=iS75Sy8vxPdQTxKd8R/a14a55yT+9ZE1XrealkwT0x8=; b=sCBeO7a+TRpV1x6fIHKi+umJhp1OG5ljF5LgE3op3d4d5ZPllBaQJUVIS7p3U+ow8w 25/otGLNWATXNo7W6fVKbQZxxN6J8R60ivFUJe5f1eB8yk5CTUc7xoEdxvyrw0viBFJ6 biWs8qL+dKXqXvK9r7W3mdjGKB44Aap/Qdu2RDMyR4qJC8Eoe+O0KR0C9AeugYTtIQ+3 CtEliuQE7Oo6Xaqtbl91Z5rKLB58InZNN9i9fx7niL0YDDyXR+YUwXJj5/B5OzzWMtOo X+U+O8h6O+waZU5H3ifRe1H7zEmoDUws7AL/7N+6mlsozluuFtTHTTM7NY1pb5hlbtIS rReg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Q38CvPhE; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb22-20020a170906a45600b009768fdd9030si6504142ejb.318.2023.06.13.04.12.52; Tue, 13 Jun 2023 04:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Q38CvPhE; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242233AbjFMLLa (ORCPT + 99 others); Tue, 13 Jun 2023 07:11:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242110AbjFMLKF (ORCPT ); Tue, 13 Jun 2023 07:10:05 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D5810D8; Tue, 13 Jun 2023 04:10:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id C0A3422416; Tue, 13 Jun 2023 11:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686654602; h=from:from:reply-to: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=iS75Sy8vxPdQTxKd8R/a14a55yT+9ZE1XrealkwT0x8=; b=Q38CvPhEMtiNefeeOeH1vGahXu/yyy0YEhuBjm1JmUEEC2utiogyKVMwU96QYlrZmRp2nD Dyvccc3evDLBZrq8iVmZsLVgU5+gbhsRpe6eI42YxiU+Pyjzv0+FhtqX2B9wHg5QpORz8x q2CjPSlhB52ekQ5zyqMJwYdH7MJjCV0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686654602; h=from:from:reply-to: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=iS75Sy8vxPdQTxKd8R/a14a55yT+9ZE1XrealkwT0x8=; b=EZDaB+E68NnQ724We9tBfV8Es66SWW3pJADfp5wqoGrgSipwtlYOzXaSRMxxOJW1+QIXad t+0OSOJDyYZhMvCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 75C3413483; Tue, 13 Jun 2023 11:10:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +JXYG4pOiGR8CQAAMHmgww (envelope-from ); Tue, 13 Jun 2023 11:10:02 +0000 From: Thomas Zimmermann To: daniel@ffwll.ch, javierm@redhat.com, sam@ravnborg.org, deller@gmx.de, geert+renesas@glider.be, lee@kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dan.carpenter@linaro.org, michael.j.ruhl@intel.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v3 20/38] fbdev/pxa168fb: Do not assign to struct fb_info.dev Date: Tue, 13 Jun 2023 13:06:55 +0200 Message-ID: <20230613110953.24176-21-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230613110953.24176-1-tzimmermann@suse.de> References: <20230613110953.24176-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Do not assign the hardware device to struct fb_info.dev. The field references the fbdev software device, which is unrelated. Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Canillas Reviewed-by: Sam Ravnborg --- drivers/video/fbdev/pxa168fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c index 79f3384630926..82cb9ffe52908 100644 --- a/drivers/video/fbdev/pxa168fb.c +++ b/drivers/video/fbdev/pxa168fb.c @@ -629,7 +629,7 @@ static int pxa168fb_probe(struct platform_device *pdev) fbi = info->par; fbi->info = info; fbi->clk = clk; - fbi->dev = info->dev = &pdev->dev; + fbi->dev = &pdev->dev; fbi->panel_rbswap = mi->panel_rbswap; fbi->is_blanked = 0; fbi->active = mi->active; -- 2.41.0