mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
auxdisplay: arm-charlcd: Remove unneeded info message
When probe succeeds we have other means to check if it was successful, no need to pollute kernel log with the practically duplicated info. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
483d86cf4b
commit
a8f4a4fb34
|
|
@ -264,7 +264,6 @@ static int __init charlcd_probe(struct platform_device *pdev)
|
|||
struct device *dev = &pdev->dev;
|
||||
int ret;
|
||||
struct charlcd *lcd;
|
||||
struct resource *res;
|
||||
|
||||
lcd = devm_kzalloc(dev, sizeof(*lcd), GFP_KERNEL);
|
||||
if (!lcd)
|
||||
|
|
@ -272,7 +271,7 @@ static int __init charlcd_probe(struct platform_device *pdev)
|
|||
|
||||
lcd->dev = &pdev->dev;
|
||||
|
||||
lcd->virtbase = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
|
||||
lcd->virtbase = devm_platform_ioremap_resource(pdev, 0);
|
||||
if (IS_ERR(lcd->virtbase))
|
||||
return PTR_ERR(lcd->virtbase);
|
||||
|
||||
|
|
@ -293,8 +292,6 @@ static int __init charlcd_probe(struct platform_device *pdev)
|
|||
INIT_DELAYED_WORK(&lcd->init_work, charlcd_init_work);
|
||||
schedule_delayed_work(&lcd->init_work, 0);
|
||||
|
||||
dev_info(dev, "initialized ARM character LCD at %pa\n", &res->start);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user