projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7b0ba
)
leds: ns2: Change unsigned to unsigned int
author
Kitone Elvis Peter
<elviskitone@gmail.com>
Mon, 6 Aug 2018 17:27:59 +0000
(20:27 +0300)
committer
Jacek Anaszewski
<jacek.anaszewski@gmail.com>
Mon, 6 Aug 2018 21:03:12 +0000
(23:03 +0200)
Use unsigned int, because it's preferred to unsigned.
Signed-off-by: Kitone Elvis Peter <elviskitone@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-ns2.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-ns2.c
b/drivers/leds/leds-ns2.c
index 14fe5cd43232965c143992da47552818d6182380..a0a7dc2ef87c6a762da2ae4d79555c6ee12e8d54 100644
(file)
--- a/
drivers/leds/leds-ns2.c
+++ b/
drivers/leds/leds-ns2.c
@@
-42,8
+42,8
@@
struct ns2_led_data {
struct led_classdev cdev;
- unsigned
cmd;
- unsigned
slow;
+ unsigned
int
cmd;
+ unsigned
int
slow;
bool can_sleep;
unsigned char sata; /* True when SATA mode active. */
rwlock_t rw_lock; /* Lock GPIOs. */