linux/drivers/rtc/rtc-ds1685.c
/**
 * ds1685_rtc_sysfs_unregister - unregister sysfs files.
 * @dev: pointer to device structure.
 */
unregister sysfs files.
@dev: pointer to device structure.
unregister sysfs files . @dev : pointer to device structure .
static int
ds1685_rtc_sysfs_unregister(struct device *dev)
{
	sysfs_remove_bin_file(&dev->kobj, &ds1685_rtc_sysfs_nvram_attr);
	sysfs_remove_group(&dev->kobj, &ds1685_rtc_sysfs_misc_grp);
	return 0;
}
static int ds1685_rtc_sysfs_unregister ( struct device * dev ) { sysfs_remove_bin_file ( & dev -> kobj , & ds1685_rtc_sysfs_nvram_attr ) ; sysfs_remove_group ( & dev -> kobj , & ds1685_rtc_sysfs_misc_grp ) ; return 0 ; }
ds1685_rtc_sysfs_unregister - unregister sysfs files.
ds1685_rtc_sysfs_unregister - unregister sysfs files .