diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-04-06 01:41:22 +0200 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 01:41:22 +0200 | 
| commit | 9efe21cb82b5dbe3b0b2ae4de4eccc64ecb94e95 (patch) | |
| tree | 7ff8833745d2f268f897f6fa4a27263b4a572245 /drivers/rtc/rtc-proc.c | |
| parent | de18836e447c2dc30120c0919b8db8ddc0401cc4 (diff) | |
| parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) | |
Merge branch 'linus' into irq/threaded
Conflicts:
	include/linux/irq.h
	kernel/irq/handle.c
Diffstat (limited to 'drivers/rtc/rtc-proc.c')
| -rw-r--r-- | drivers/rtc/rtc-proc.c | 10 | 
1 files changed, 2 insertions, 8 deletions
| diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index 0c6257a034f..c086fc30a84 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c @@ -105,14 +105,8 @@ static const struct file_operations rtc_proc_fops = {  void rtc_proc_add_device(struct rtc_device *rtc)  { -	if (rtc->id == 0) { -		struct proc_dir_entry *ent; - -		ent = proc_create_data("driver/rtc", 0, NULL, -				       &rtc_proc_fops, rtc); -		if (ent) -			ent->owner = rtc->owner; -	} +	if (rtc->id == 0) +		proc_create_data("driver/rtc", 0, NULL, &rtc_proc_fops, rtc);  }  void rtc_proc_del_device(struct rtc_device *rtc) | 
