linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call
@ 2019-07-24 22:01 Christophe JAILLET
  2020-01-20 13:39 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2019-07-24 22:01 UTC (permalink / raw)
  To: davem; +Cc: linux-ide, linux-kernel, kernel-janitors, Christophe JAILLET

This should be "tx4939ide" instead of "tx4938ide", but here MODNAME is even
better.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/ide/tx4939ide.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c
index 88d132edc4e3..079b271dd5a7 100644
--- a/drivers/ide/tx4939ide.c
+++ b/drivers/ide/tx4939ide.c
@@ -549,7 +549,7 @@ static int __init tx4939ide_probe(struct platform_device *pdev)
 		return -ENODEV;
 
 	if (!devm_request_mem_region(&pdev->dev, res->start,
-				     resource_size(res), "tx4938ide"))
+				     resource_size(res), MODNAME))
 		return -EBUSY;
 	mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start,
 					      resource_size(res));
-- 
2.20.1


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

* Re: [PATCH] ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call
  2019-07-24 22:01 [PATCH] ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call Christophe JAILLET
@ 2020-01-20 13:39 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-01-20 13:39 UTC (permalink / raw)
  To: christophe.jaillet; +Cc: linux-ide, linux-kernel, kernel-janitors

From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Date: Thu, 25 Jul 2019 00:01:45 +0200

> This should be "tx4939ide" instead of "tx4938ide", but here MODNAME is even
> better.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Applied.

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

end of thread, other threads:[~2020-01-20 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-24 22:01 [PATCH] ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call Christophe JAILLET
2020-01-20 13:39 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).