Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2553926rdb; Mon, 5 Feb 2024 09:58:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrMtwIME3UTvF9h94lQnEi/vd0O6ZzaF3eB+T4hG8ZhenZfHqlXUutdYyZMegkYG3BbIOM X-Received: by 2002:a05:6a00:98a:b0:6e0:503f:f506 with SMTP id u10-20020a056a00098a00b006e0503ff506mr357806pfg.7.1707155880393; Mon, 05 Feb 2024 09:58:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707155880; cv=pass; d=google.com; s=arc-20160816; b=vIPLbWeKZOaEUD6NgN+X4gKPzOKQcUk7JBi27CrNM3Tv8QimgBycm1Nzp/5mBRxMui L2++Ndz4Qo0h1o3XY5aRl8aYq2Dd9X50+EOqJozmPxPmkS2QID2YwgjJrcTLV4eKRwdH 0r3ajLZnpLk+Bx/Ee7amn7Xe4sGmNr71NuBvt6W+gunLnZZwGrd29ityLBDDdj0s9jq1 kNw+KRcVLoabIc8y0rS1LEbS3F6idgEFyN6yl+NFijCNcjAwS+iysMhFAiVXKzyZlpW3 dsmRBLI8Nyl1S2gPzOahQcV24gVHA/zLAQJA8t+zti90LMbL/i9wZiyeoFlUVAb/TiyK B+/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Y1+OGpgO63h+CoyrYHJeBkVHIfjV8yHeOKcX7588wxQ=; fh=0owyLHh28j4xdoQcFE3Fhyk9y9w2sT/+EEA4tUtqnFs=; b=WVvdTeBIREK0Hh2wLZ2rYIQwNQ3v9V0bVjf+JM0eUpdtVs1dq5VkZtVw2+SLQKYs7N oXbo8fmHfORP7QYZxfdGq+vfLUXjcuj4/XaiL83hnktdLsd4ed7QakZZtEaT5PZRO3m3 EKEmmeR26D0HudSt91885ok+MRg+TRu3f4D6j/LWZPBu6kvS2ViW6WlDItRzOhMg6QQm MA3cS9S1K9mG6AuQ3PZ7lauoeW6UQVTzOpbpX5/ZU99Yj0tvUT7Ubg/iKteBMWgGnTpS esBNpw4rb9bj46rPPMGjJCfjh9VXMcxqJmuNePOIQGoKY5R18PVY5cdmUpPXiwt3kODM Zz9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="j/kKlqU6"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-53167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=1; AJvYcCVUzxu51rxaO+xnxdI5kRfFs5x8KPFeQIQXPgk/X0fcXd38gyXG5HD87bSA5ZA6ZYhkD3f7YTRz0GfrNa8+g1R08Nax+vgkQGAQPNACIQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bq25-20020a056a000e1900b006e047cefa0fsi146768pfb.82.2024.02.05.09.58.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 09:58:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="j/kKlqU6"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-53167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 6CF7F28512C for ; Mon, 5 Feb 2024 17:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C837347F52; Mon, 5 Feb 2024 17:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="j/kKlqU6" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49BDC4E1BF for ; Mon, 5 Feb 2024 17:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707155770; cv=none; b=JMaA9Na0VyOiXu3DUbm/PbvrYpVKyMb9KzLzEwtSaQGQZ0dl3s234OUEGphXFC1C5HYBbwGGpY2rYGSB/rRG3Hrsn0uthwRwg4vWrcjrKNjMEtFTawmwBPbwuSS9t6fN+HFkUo+v4a7EttD4h0QtqlPbW13voSTWokwcoOAvFWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707155770; c=relaxed/simple; bh=Y1+OGpgO63h+CoyrYHJeBkVHIfjV8yHeOKcX7588wxQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=KSOLTeljl8oeIDG42pcyPz3l6fsoJSeaxMFsLpCTK64RpDg/qejDwcu1kswPx/8szxGS7mCq8WPA8BHBsdt+7q2FRE7e6ioVJ1UntOnSx2/xJBzkKebn8jmMlgPu3VXGkrEPC1iud6I2pC6yQpKeWcKTFPEfSdClKRcDHMxVmzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=j/kKlqU6; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40f0218476aso6925e9.1 for ; Mon, 05 Feb 2024 09:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707155767; x=1707760567; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Y1+OGpgO63h+CoyrYHJeBkVHIfjV8yHeOKcX7588wxQ=; b=j/kKlqU6T0qIJhCMy9EQ6i/Q6rVT7CdP2dbM1BlcQ8UrvDwthHQo4m6xsIJVw6i+fy ulBleSkxPDLG3JRTwuH28kV+Xd+lmrdbpFMXMHnvPKgo1Urf/zvcDBjNuOwiU/eRGyyw WM9xYPRlIDhnXuxkH/KFH7Ce5NHpF7GfXVVTXLi5Zt0EnQ6uGFaxb7AKUqSqtsDQcil0 M6R9DDgP4e8yB5tdSrfsrQM1wuA6cSB+EEMDVCiUrvEDCUSNYSvnYYski9LFv4NN9sYE oTanzUAfMa1fk/naCr9BvAdXL4suah7SV0ovpjPlv2oT8kvMXenolFAydHAb8CloJ1be JDNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707155767; x=1707760567; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y1+OGpgO63h+CoyrYHJeBkVHIfjV8yHeOKcX7588wxQ=; b=svNFH9TJ/Xt9SyvV/uWd90aeEjrwY3kkS8Sl+WDnFjz+9XRD8dfhKfIaN1hnFfcRdd xtAGVKnV6zS6Hkbs/gAsT6iS7aqPQ6NAcnukSXrC2gVMo+8JXAI2rw07zAbE/hyt9OO1 IXYtANz2ckIZ63XA480VcZa05NzmYqoeZHbi0xIvYD3NKxehheuY3LFqH3Ugn9z7iJYD 4fh1Ay4cHL2CGZ3bPxuO2zrSbVVoko6VFj3n3ioNH/QyD1kOM1LoL70gWo/EAhebjV1w DMgyPUknCFgSicLGo3PRmUZv0LlERcxKT/bslzix/je2PTv7kn4WGbAHeruV/fD9XXbI 8dUQ== X-Gm-Message-State: AOJu0YxEoDkdbvI8SQ0Izh8c3v4K+owUg8fD4EYhtJJJfoZ8tFs2Vyds DKj/yDwpigjt1Wa21d+2l8nTiwq2iWrmrswTrZd9Oh87iZn62tBxSCGa94ve/DcDhuX36bSFxcJ dkYIiOr4LA5OGipw6sZ2R/cs7j3iM779+RGY= X-Received: by 2002:a05:600c:1e07:b0:40f:df29:9abf with SMTP id ay7-20020a05600c1e0700b0040fdf299abfmr18729wmb.2.1707155767456; Mon, 05 Feb 2024 09:56:07 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: John Stultz Date: Mon, 5 Feb 2024 09:55:53 -0800 Message-ID: Subject: Re: [PATCH] drm/hisilicon: Use devm_platform_get_and_ioremap_resource() in dsi_parse_dt() To: Markus Elfring Cc: dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, Daniel Vetter , David Airlie , Douglas Anderson , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Sumit Semwal , Thomas Zimmermann , Tian Tao , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Xinliang Liu , Xinwei Kong , Yongqin Liu , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 5, 2024 at 12:13=E2=80=AFAM Markus Elfring wrote: > > From: Markus Elfring > Date: Mon, 5 Feb 2024 08:58:21 +0100 > > A wrapper function is available since the commit 890cc39a879906b63912482d= fc41944579df2dc6 > ("drivers: provide devm_platform_get_and_ioremap_resource()"). > Thus reuse existing functionality instead of keeping duplicate source cod= e. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring I no longer have hardware to test with this, but this looks reasonable to m= e. Acked-by: John Stultz thanks -john