aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/mxc_mma8451.c
Commit message (Collapse)AuthorAge
* ENGR00293101 hwmon: mma8451: add sys interface to set sensor scale mode.Luwei Zhou2014-04-16
| | | | | | | | | mma8451 sensor driver on i.MX6Q/DL SabreSD/AUTO doesn't provide the interface to set sensor scale. The new sys interface name is "scalemode". The mode is defined as: MODE_2G : 0, MODE_4G : 1, MODE_8G : 2 Signed-off-by: Luwei Zhou <b45643@freescale.com>
* ENGR00276865 hwmon: mma8451: Change warning to errorLuwei Zhou2014-04-16
| | | | | | Change the string tranform warning to error. Signed-off-by: Luwei Zhou <b45643@freescale.com>
* ENGR00275983 sensor: Add mma8451 sensor driverLuwei Zhou2014-04-16
Add mxa-mma8451.c to support mma8451 sensor. Copy the file from 3.0.35_4.1.0. Modificaiton List: 1.Remove __devinit,__devexit out of code 2.Support device tree. 3.Replace simple_strtoul with strict_strtoul. Signed-off-by: Luwei Zhou <b45643@freescale.com>