OSDN Git Service

staging: unisys: Get rid of uint usage
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 5 May 2015 22:35:46 +0000 (18:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:25:54 +0000 (15:25 +0200)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c

index 0d3abce..9b6c768 100644 (file)
@@ -2120,7 +2120,7 @@ static ssize_t devicedisabled_store(struct device *dev,
                                    struct device_attribute *attr,
                                    const char *buf, size_t count)
 {
-       uint id;
+       unsigned int id;
 
        if (kstrtouint(buf, 10, &id) != 0)
                return -EINVAL;
@@ -2137,7 +2137,7 @@ static ssize_t deviceenabled_store(struct device *dev,
                                   struct device_attribute *attr,
                                   const char *buf, size_t count)
 {
-       uint id;
+       unsigned int id;
 
        if (kstrtouint(buf, 10, &id) != 0)
                return -EINVAL;