led: Fixed code style

This commit is contained in:
Lorenz Meier 2015-10-19 13:18:34 +02:00
parent 2993c5dd12
commit 7a33697b85
1 changed files with 4 additions and 1 deletions

View File

@ -125,6 +125,7 @@ LED::ioctl(device::file_t *filp, int cmd, unsigned long arg)
result = VDev::ioctl(filp, cmd, arg);
#endif
}
return result;
}
@ -138,7 +139,9 @@ drv_led_start(void)
{
if (gLED == nullptr) {
gLED = new LED;
if (gLED != nullptr)
if (gLED != nullptr) {
gLED->init();
}
}
}