summaryrefslogtreecommitdiff
path: root/driver/als_isl29035.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/als_isl29035.c')
-rw-r--r--driver/als_isl29035.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver/als_isl29035.c b/driver/als_isl29035.c
index db77a19f09..3391a25e01 100644
--- a/driver/als_isl29035.c
+++ b/driver/als_isl29035.c
@@ -1,4 +1,4 @@
-/* Copyright 2013 The Chromium OS Authors. All rights reserved.
+/* Copyright 2013 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -9,16 +9,16 @@
#include "i2c.h"
/* I2C interface */
-#define ILS29035_I2C_ADDR_FLAGS 0x44
-#define ILS29035_REG_COMMAND_I 0
+#define ILS29035_I2C_ADDR_FLAGS 0x44
+#define ILS29035_REG_COMMAND_I 0
#define ILS29035_REG_COMMAND_II 1
-#define ILS29035_REG_DATA_LSB 2
-#define ILS29035_REG_DATA_MSB 3
+#define ILS29035_REG_DATA_LSB 2
+#define ILS29035_REG_DATA_MSB 3
#define ILS29035_REG_INT_LT_LSB 4
#define ILS29035_REG_INT_LT_MSB 5
#define ILS29035_REG_INT_HT_LSB 6
#define ILS29035_REG_INT_HT_MSB 7
-#define ILS29035_REG_ID 15
+#define ILS29035_REG_ID 15
int isl29035_init(void)
{