summaryrefslogtreecommitdiff
path: root/driver/led/lm3509.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/led/lm3509.h')
-rw-r--r--driver/led/lm3509.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver/led/lm3509.h b/driver/led/lm3509.h
index a7defe1fb7..1f2ace46f0 100644
--- a/driver/led/lm3509.h
+++ b/driver/led/lm3509.h
@@ -1,4 +1,4 @@
-/* Copyright 2018 The Chromium OS Authors. All rights reserved.
+/* Copyright 2018 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -8,7 +8,7 @@
#ifndef __CROS_EC_LM3509_H
#define __CROS_EC_LM3509_H
-#define LM3509_I2C_ADDR_FLAGS 0x36
+#define LM3509_I2C_ADDR_FLAGS 0x36
/*
* General purpose register
@@ -18,7 +18,7 @@
* [1]= enable secondary current sink.
* [0]= enable main current sink.
*/
-#define LM3509_REG_GP 0x10
+#define LM3509_REG_GP 0x10
/*
* Brightness register
@@ -27,10 +27,10 @@
* 0x1F: 100%
* Power-on-value: 0% (0xE0)
*/
-#define LM3509_REG_BMAIN 0xA0
-#define LM3509_REG_BSUB 0xB0
+#define LM3509_REG_BMAIN 0xA0
+#define LM3509_REG_BSUB 0xB0
-#define LM3509_BMAIN_MASK 0x1F
+#define LM3509_BMAIN_MASK 0x1F
extern const struct kblight_drv kblight_lm3509;