amdgpu/pm: Replace amdgpu_pm usage of sprintf with sysfs_emit
[linux-2.6-microblaze.git] / drivers / mfd / tps80031.c
index 902e335..3c4e62c 100644 (file)
 #include <linux/slab.h>
 
 static const struct resource tps80031_rtc_resources[] = {
-       {
-               .start = TPS80031_INT_RTC_ALARM,
-               .end = TPS80031_INT_RTC_ALARM,
-               .flags = IORESOURCE_IRQ,
-       },
+       DEFINE_RES_IRQ(TPS80031_INT_RTC_ALARM),
 };
 
 /* TPS80031 sub mfd devices */