summaryrefslogtreecommitdiff
path: root/fs/openpromfs
diff options
context:
space:
mode:
authorAndrew Chew <achew@nvidia.com>2010-09-09 05:02:17 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-14 23:37:11 (GMT)
commit3285aae1edd04ffdb6a732f7d90c44f90a7e5d8f (patch)
tree12c5ab371d24328d175bf2ab57562a6fe6e3d4f5 /fs/openpromfs
parent7223234ee02b6ceb9ae07804133d21b9156401e4 (diff)
downloadlinux-fsl-qoriq-3285aae1edd04ffdb6a732f7d90c44f90a7e5d8f.tar.xz
staging: iio: ak8975: Add ak8975 magnetometer sensor
This is for the Asahi Kasei AK8975 3-axis magnetometer. It resides within the magnetometer section of the IIO subsystem, and implements the raw magn_x,y,z_raw attributes, as well as magn_x,y,z_scale attributes for converting to Gauss. Changed to use the magn_x,y,z_scale attributes, and made those attributes give the scale factor to conert to Gauss. Also applied more fixes from feedback. Keeping mode as an unsigned long. I'm going to add proper power management at some point anyway, which would deprecate this attribute. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions