fbdev/ps3fb: Build without kernel device
[platform/kernel/linux-starfive.git] / drivers / video / fbdev / ps3fb.c
index 5aedc30..64d291d 100644 (file)
@@ -1168,9 +1168,7 @@ static int ps3fb_probe(struct ps3_system_bus_device *dev)
 
        ps3_system_bus_set_drvdata(dev, info);
 
-       dev_info(info->device, "%s %s, using %u KiB of video memory\n",
-                dev_driver_string(info->dev), dev_name(info->dev),
-                info->fix.smem_len >> 10);
+       fb_info(info, "using %u KiB of video memory\n", info->fix.smem_len >> 10);
 
        task = kthread_run(ps3fbd, info, DEVICE_NAME);
        if (IS_ERR(task)) {