public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource()
@ 2025-02-06  7:17 oushixiong1025
  2025-02-06 14:45 ` Maxime Ripard
  2025-02-10 12:48 ` Robert Foss
  0 siblings, 2 replies; 4+ messages in thread
From: oushixiong1025 @ 2025-02-06  7:17 UTC (permalink / raw)
  To: Manikandan Muralidharan
  Cc: Dharma Balasubiramani, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, dri-devel, linux-kernel, Shixiong Ou

From: Shixiong Ou <oushixiong@kylinos.cn>

convert to use devm_platform_ioremap_resource().

Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
---
 drivers/gpu/drm/bridge/microchip-lvds.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/bridge/microchip-lvds.c b/drivers/gpu/drm/bridge/microchip-lvds.c
index b8313dad6072..53dd140a1b8d 100644
--- a/drivers/gpu/drm/bridge/microchip-lvds.c
+++ b/drivers/gpu/drm/bridge/microchip-lvds.c
@@ -162,8 +162,7 @@ static int mchp_lvds_probe(struct platform_device *pdev)
 
 	lvds->dev = dev;
 
-	lvds->regs = devm_ioremap_resource(lvds->dev,
-			platform_get_resource(pdev, IORESOURCE_MEM, 0));
+	lvds->regs = devm_platform_ioremap_resource(pdev, 0);
 	if (IS_ERR(lvds->regs))
 		return PTR_ERR(lvds->regs);
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource()
  2025-02-06  7:17 [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource() oushixiong1025
@ 2025-02-06 14:45 ` Maxime Ripard
  2025-02-07  3:13   ` Manikandan.M
  2025-02-10 12:48 ` Robert Foss
  1 sibling, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2025-02-06 14:45 UTC (permalink / raw)
  To: oushixiong1025
  Cc: dri-devel, linux-kernel, Andrzej Hajda, David Airlie,
	Dharma Balasubiramani, Jernej Skrabec, Jonas Karlman,
	Laurent Pinchart, Maarten Lankhorst, Manikandan Muralidharan,
	Maxime Ripard, Neil Armstrong, Robert Foss, Shixiong Ou,
	Simona Vetter, Thomas Zimmermann

On Thu, 6 Feb 2025 15:17:13 +0800, oushixiong1025@163.com wrote:
> From: Shixiong Ou <oushixiong@kylinos.cn>
> 
> convert to use devm_platform_ioremap_resource().
> 
> Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
> 
> [ ... ]

Reviewed-by: Maxime Ripard <mripard@kernel.org>

Thanks!
Maxime

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource()
  2025-02-06 14:45 ` Maxime Ripard
@ 2025-02-07  3:13   ` Manikandan.M
  0 siblings, 0 replies; 4+ messages in thread
From: Manikandan.M @ 2025-02-07  3:13 UTC (permalink / raw)
  To: mripard, oushixiong1025
  Cc: dri-devel, linux-kernel, andrzej.hajda, airlied, Dharma.B,
	jernej.skrabec, jonas, Laurent.pinchart, maarten.lankhorst,
	neil.armstrong, rfoss, oushixiong, simona, tzimmermann

On 06/02/25 8:15 pm, Maxime Ripard wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Thu, 6 Feb 2025 15:17:13 +0800, oushixiong1025@163.com wrote:
>> From: Shixiong Ou <oushixiong@kylinos.cn>
>>
>> convert to use devm_platform_ioremap_resource().
>>
>> Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
>>
>> [ ... ]
> 
> Reviewed-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Manikandan Muralidharan <manikandan.m@microchip.com>
> 
> Thanks!
> Maxime

-- 
Thanks and Regards,
Manikandan M.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource()
  2025-02-06  7:17 [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource() oushixiong1025
  2025-02-06 14:45 ` Maxime Ripard
@ 2025-02-10 12:48 ` Robert Foss
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Foss @ 2025-02-10 12:48 UTC (permalink / raw)
  To: Manikandan Muralidharan, oushixiong1025
  Cc: Dharma Balasubiramani, Andrzej Hajda, Neil Armstrong,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, dri-devel, linux-kernel, Shixiong Ou

On Thu, 06 Feb 2025 15:17:13 +0800, oushixiong1025@163.com wrote:
> convert to use devm_platform_ioremap_resource().
> 
> 

Applied, thanks!

[1/1] drm/bridge: convert to use devm_platform_ioremap_resource()
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/aaad45cfaa1b



Rob



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-10 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06  7:17 [PATCH] drm/bridge: convert to use devm_platform_ioremap_resource() oushixiong1025
2025-02-06 14:45 ` Maxime Ripard
2025-02-07  3:13   ` Manikandan.M
2025-02-10 12:48 ` Robert Foss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox