summaryrefslogtreecommitdiff
path: root/arch/x86/platform/mrst
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/mrst')
-rw-r--r--arch/x86/platform/mrst/vrtc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/platform/mrst/vrtc.c b/arch/x86/platform/mrst/vrtc.c
index 4d3f770456f7..32cd7edd71a0 100644
--- a/arch/x86/platform/mrst/vrtc.c
+++ b/arch/x86/platform/mrst/vrtc.c
@@ -159,8 +159,7 @@ static int __init mrst_device_create(void)
vrtc_resources[1].start = sfi_mrtc_array[0].irq;
vrtc_resources[1].end = sfi_mrtc_array[0].irq;
- platform_device_register(&vrtc_device);
- return 0;
+ return platform_device_register(&vrtc_device);
}
module_init(mrst_device_create);