|
@@ -223,10 +223,7 @@ static struct platform_device rtc_parisc_dev = {
|
|
|
|
|
|
static int __init rtc_init(void)
|
|
static int __init rtc_init(void)
|
|
{
|
|
{
|
|
- int ret;
|
|
|
|
-
|
|
|
|
- ret = platform_device_register(&rtc_parisc_dev);
|
|
|
|
- if (ret < 0)
|
|
|
|
|
|
+ if (platform_device_register(&rtc_parisc_dev) < 0)
|
|
printk(KERN_ERR "unable to register rtc device...\n");
|
|
printk(KERN_ERR "unable to register rtc device...\n");
|
|
|
|
|
|
/* not necessarily an error */
|
|
/* not necessarily an error */
|