kernel-power v49 -> kernel-bfs
[kernel-bfs] / kernel-bfs-2.6.28 / debian / patches / radio-si4713.diff
index e100338..f89af55 100644 (file)
@@ -27,7 +27,7 @@
  
  /*
   * Sysfs properties
-@@ -193,16 +180,7 @@ static ssize_t si4713_lock_write(struct
+@@ -193,16 +180,6 @@ static ssize_t si4713_lock_write(struct
                                const char *buf,
                                size_t count)
  {
@@ -41,8 +41,8 @@
 -      if (l != 0)
 -              config_locked = 1;
 -
-+      sscanf(buf, "%d", &config_locked);
-       return count;
+-      return count;
++      return sscanf(buf, "%d", &config_locked);
  }
  
 @@ -219,7 +197,7 @@ static DEVICE_ATTR(lock, S_IRUGO | S_IWU