rtc: remove rest of class_device
Finish converting the RTC framework so it no longer uses class_device. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Acked-By: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7d9f99eccc
commit
cd9662094e
@ -74,7 +74,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset)
|
||||
seq_printf(seq, "24hr\t\t: yes\n");
|
||||
|
||||
if (ops->proc)
|
||||
ops->proc(rtc->class_dev.dev, seq);
|
||||
ops->proc(rtc->dev.parent, seq);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user