staging: unisys: Get rid of uint usage
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>
This commit is contained in:
parent
e82ba62e23
commit
9421736356
1 changed files with 2 additions and 2 deletions
|
@ -2120,7 +2120,7 @@ static ssize_t devicedisabled_store(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t count)
|
const char *buf, size_t count)
|
||||||
{
|
{
|
||||||
uint id;
|
unsigned int id;
|
||||||
|
|
||||||
if (kstrtouint(buf, 10, &id) != 0)
|
if (kstrtouint(buf, 10, &id) != 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
@ -2137,7 +2137,7 @@ static ssize_t deviceenabled_store(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t count)
|
const char *buf, size_t count)
|
||||||
{
|
{
|
||||||
uint id;
|
unsigned int id;
|
||||||
|
|
||||||
if (kstrtouint(buf, 10, &id) != 0)
|
if (kstrtouint(buf, 10, &id) != 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue