Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5618150rwd; Mon, 12 Jun 2023 07:31:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ67WLDWyLvzk0uRqNXPQ5l6eooE5Gb7167cyZ0pAkX8r0cUFdfJ91Dh5qgoRFxK2FRjf3Dc X-Received: by 2002:a17:907:80c:b0:978:8e58:e1a9 with SMTP id wv12-20020a170907080c00b009788e58e1a9mr10532607ejb.15.1686580277067; Mon, 12 Jun 2023 07:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686580277; cv=none; d=google.com; s=arc-20160816; b=qDHeieTwDhPWVJ9IY45tpYrZtaH1q1GEfYWldNiJ+0zUuf5uKQwDOCtEPTd/WedLHV SbAGLmgGYwrGiy6e6gePRH81OJU/Ha3Q1MOJfhiF+3jIEHpNSIXBs+EwjpMDVf/kQQY2 afQXecoj9ICnEw7EVL588xk//FTTL1Yb1GKxnWll5K0azLtviie2WWOMPhp2Gtlfzl1S 9CnrV82jAjHga1jSkkykGX6ISRbyIz7KcKtTqgLzc/rzu7dKUParocK3KprIlVZMxO1a bF7SoJNrD9DBROUmk/qFZr1rhmVKYWSKnSPlpr04ktkAwIPdKo0Ihn9siBpCNiTuWjY3 BX1Q== 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=NeJmBMc+qN1qkXnt7g1RgqrFwwNflzArnjihi3rx4yI=; b=ilXY9XSTtzgp4UVZXNTtBmbT+O7YESILQykHi8SWVWuk+3S/17epazq/IMaURLFSfK Bt5IW2lyuH82FUmjIVa6RuTzSnF62JBXwQSgKrl8hA8uvSqVp/Rq4AwUrPSrayWDMKzH dXmUgGpHlvcCME50oBt01m5578xKb92DPIFoQw081pv+/8tOT9wCqdjuX/aBQ2CFbKoJ q4BrVSO+9du+UPXf9h5uk9BmbDjPXdwr3b6ZDWndkiF6vBOWxZstLWQR820ZnmsgdJm7 Z2hHxJffWRi/n/0nhzLjI0zhB8wU8mgNV1Cnjd6t5e6GBSxdZ88JYm1bPOs+jboCm6gg asIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gFIK1qv7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=UZGQhraa; 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 f14-20020a170906560e00b0096165d2e487si5749994ejq.86.2023.06.12.07.30.48; Mon, 12 Jun 2023 07:31:17 -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=gFIK1qv7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=UZGQhraa; 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 S237373AbjFLOPa (ORCPT + 99 others); Mon, 12 Jun 2023 10:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237378AbjFLOOI (ORCPT ); Mon, 12 Jun 2023 10:14:08 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19F0E10FF; Mon, 12 Jun 2023 07:14:03 -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 B6B6822850; Mon, 12 Jun 2023 14:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686579241; 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=NeJmBMc+qN1qkXnt7g1RgqrFwwNflzArnjihi3rx4yI=; b=gFIK1qv7+3u09sRVdTlSN5i09/FxajAi9k1XcX9W9wJtKgypvNDNKBjpr+FOUC/NJqMWB7 em0yUyIGDQPuQSO9qp8XcdMexBu08G4vF679LV3ISLJoCvt1Ag+5BMT/YTKSupbuJA6oe8 UN+BI9+CsGTbb4bvxIdBbcM4UAhwxX8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686579241; 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=NeJmBMc+qN1qkXnt7g1RgqrFwwNflzArnjihi3rx4yI=; b=UZGQhraaK4JGeU/nXzIZQfBQi9ePVMq7ByjtD5xJoq08BQMjbwViCPjbhuns9T0rayM7n/ EheOXx5OIeI2dWDQ== 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 6535F1357F; Mon, 12 Jun 2023 14:14:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8By4Fykoh2RwGQAAMHmgww (envelope-from ); Mon, 12 Jun 2023 14:14:01 +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 v2 20/38] fbdev/pxa168fb: Do not assign to struct fb_info.dev Date: Mon, 12 Jun 2023 16:07:58 +0200 Message-ID: <20230612141352.29939-21-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612141352.29939-1-tzimmermann@suse.de> References: <20230612141352.29939-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 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 --- 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