aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorKitone Elvis Peter <elviskitone@gmail.com>2018-08-06 17:27:59 (GMT)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-08-06 21:03:12 (GMT)
commit2224f2ff9670b899983ff1b42d85530e889cfea1 (patch)
treec5dd1cf6811703f5b46fced0c0d4817976ae9d30 /drivers/leds
parent6f7b0bad88397ad5d7901ce63696163ac8b481ce (diff)
leds: ns2: Change unsigned to unsigned int
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-ns2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c
index 14fe5cd..a0a7dc2 100644
--- 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. */

Privacy Policy