Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
static void retu_rtca_expired(void *data)
{
retu_rtca_disable();
- kobject_uevent(&retu_rtc_driver.kobj, KOBJ_CHANGE);
+ sysfs_notify(&retu_rtc_driver.kobj, NULL, "alarm_expired");
}
DECLARE_WORK(retu_rtca_work, retu_rtca_expired, NULL);
prev_state = tu->vbus_state;
tu->vbus_state = reg & 0x01;
if (prev_state != tu->vbus_state)
- kobject_uevent(&tu->pt_dev->dev.kobj, KOBJ_CHANGE);
+ sysfs_notify(&tu->pt_dev->dev.kobj, NULL, "vbus_state");
}
static void tahvo_usb_become_host(struct tahvo_usb *tu)