Merge tag 'mfd-next-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[sfrench/cifs-2.6.git] / arch / powerpc / sysdev / of_rtc.c
index 6f54b54b13283f71af521f3bbda1c1a764781f4c..153fdac4720f05e29893d2eb4f7f5229539b3a19 100644 (file)
@@ -38,21 +38,21 @@ void __init of_instantiate_rtc(void)
                        res = kmalloc(sizeof(*res), GFP_KERNEL);
                        if (!res) {
                                printk(KERN_ERR "OF RTC: Out of memory "
-                                      "allocating resource structure for %s\n",
-                                      node->full_name);
+                                      "allocating resource structure for %pOF\n",
+                                      node);
                                continue;
                        }
 
                        err = of_address_to_resource(node, 0, res);
                        if (err) {
                                printk(KERN_ERR "OF RTC: Error "
-                                      "translating resources for %s\n",
-                                      node->full_name);
+                                      "translating resources for %pOF\n",
+                                      node);
                                continue;
                        }
 
-                       printk(KERN_INFO "OF_RTC: %s is a %s @ 0x%llx-0x%llx\n",
-                              node->full_name, plat_name,
+                       printk(KERN_INFO "OF_RTC: %pOF is a %s @ 0x%llx-0x%llx\n",
+                              node, plat_name,
                               (unsigned long long)res->start,
                               (unsigned long long)res->end);
                        platform_device_register_simple(plat_name, -1, res, 1);