Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73159
b: refs/heads/master
c: f21daa4
h: refs/heads/master
i:
  73157: 24ce1b4
  73155: 21de6c2
  73151: e43f86f
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Nov 4, 2007
1 parent 72f133a commit 6ab7be5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ed53a5af75d858bd224c2cdd7604e347a63218f
refs/heads/master: f21daa41d19def8c0a1e9d9626f773447b8191f6
8 changes: 0 additions & 8 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,13 +905,6 @@ struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *mp,
}


static int pvr2_sysfs_hotplug(struct device *d,
struct kobj_uevent_env *env)
{
/* Even though we don't do anything here, we still need this function
because sysfs will still try to call it. */
return 0;
}

struct pvr2_sysfs_class *pvr2_sysfs_class_create(void)
{
Expand All @@ -922,7 +915,6 @@ struct pvr2_sysfs_class *pvr2_sysfs_class_create(void)
clp->class.name = "pvrusb2";
clp->class.class_release = pvr2_sysfs_class_release;
clp->class.dev_release = pvr2_sysfs_release;
clp->class.dev_uevent = pvr2_sysfs_hotplug;
if (class_register(&clp->class)) {
pvr2_sysfs_trace(
"Registration failed for pvr2_sysfs_class id=%p",clp);
Expand Down

0 comments on commit 6ab7be5

Please sign in to comment.