gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level>
[sfrench/cifs-2.6.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_atpx_handler.c
index 6c343a9331825452a572a876649dc3b67eba28c4..c13c51af0b681dbb1ee605b978a319ffaa4c7794 100644 (file)
@@ -583,8 +583,8 @@ static bool amdgpu_atpx_detect(void)
 
        if (has_atpx && vga_count == 2) {
                acpi_get_name(amdgpu_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer);
-               printk(KERN_INFO "vga_switcheroo: detected switching method %s handle\n",
-                      acpi_method_name);
+               pr_info("vga_switcheroo: detected switching method %s handle\n",
+                       acpi_method_name);
                amdgpu_atpx_priv.atpx_detected = true;
                amdgpu_atpx_priv.bridge_pm_usable = d3_supported;
                amdgpu_atpx_init();