Updated for owner removal from struct proc_dir_entry (2.6.30)

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>

---
 3rdparty/acerhk/acerhk.c |    7 -------
 1 file changed, 7 deletions(-)

diff -p -up linux-2.6.29/3rdparty/acerhk/acerhk.c.orig linux-2.6.29/3rdparty/acerhk/acerhk.c
--- linux-2.6.29/3rdparty/acerhk/acerhk.c.orig	2009-05-22 02:42:44.000000000 -0300
+++ linux-2.6.29/3rdparty/acerhk/acerhk.c	2009-05-22 02:43:45.000000000 -0300
@@ -2626,7 +2626,6 @@ static int acerhk_proc_init(void)
     printk(KERN_INFO"acerhk: could not create /proc/driver/acerhk\n");
   }
   else {
-    proc_acer_dir->owner = THIS_MODULE;
     /* now create several files, first general info ... */
     entry = create_proc_read_entry("info",
                                    0444, proc_acer_dir, acerhk_proc_info, NULL);
@@ -2635,7 +2634,6 @@ static int acerhk_proc_init(void)
       remove_proc_entry("driver/acerhk", NULL);
       retval = 0;
     } else {
-      entry->owner = THIS_MODULE;
       /* ... last pressed key ... */
       entry = create_proc_read_entry("key",
                                      0444, proc_acer_dir, acerhk_proc_key, NULL);
@@ -2645,7 +2643,6 @@ static int acerhk_proc_init(void)
         remove_proc_entry("driver/acerhk", NULL);
         retval = 0;
       } else {
-        entry->owner = THIS_MODULE;
         /* ... and led control file */
         entry = create_proc_entry("led", 0222, proc_acer_dir);
         if (entry == NULL) {
@@ -2657,7 +2654,6 @@ static int acerhk_proc_init(void)
         }
         else {
           entry->write_proc = acerhk_proc_led;
-          entry->owner = THIS_MODULE;
           /* ... and wireless led controll file */
           entry = create_proc_entry("wirelessled", 0222, proc_acer_dir);
           if (entry == NULL) {
@@ -2670,7 +2666,6 @@ static int acerhk_proc_init(void)
           }
           else {
             entry->write_proc = acerhk_proc_wirelessled;
-            entry->owner = THIS_MODULE;
             /* ... and bluetooth led controll file */
             entry = create_proc_entry("blueled", 0222, proc_acer_dir);
             if (entry == NULL) {
@@ -2683,7 +2678,6 @@ static int acerhk_proc_init(void)
               retval = 0;
             } else {
               entry->write_proc = acerhk_proc_blueled;
-              entry->owner = THIS_MODULE;
               retval = 1;
 #ifdef ACERDEBUG
               /* add extra file for debugging purposes */
@@ -2700,7 +2694,6 @@ static int acerhk_proc_init(void)
               }
               else {
                 entry->write_proc = acerhk_proc_debug;
-                entry->owner = THIS_MODULE;
                 retval = 1;
               }
 #endif
