Commit e6869759 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

staging:iio:accel:sca3000: Fix kerneldoc

match function names with kerneldoc
Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 2690be90
...@@ -250,9 +250,8 @@ static int sca3000_check_status(struct device *dev) ...@@ -250,9 +250,8 @@ static int sca3000_check_status(struct device *dev)
} }
#endif /* SCA3000_DEBUG */ #endif /* SCA3000_DEBUG */
/** /**
* sca3000_show_reg() - sysfs interface to read the chip revision number * sca3000_show_rev() - sysfs interface to read the chip revision number
**/ **/
static ssize_t sca3000_show_rev(struct device *dev, static ssize_t sca3000_show_rev(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
...@@ -312,7 +311,7 @@ sca3000_show_available_measurement_modes(struct device *dev, ...@@ -312,7 +311,7 @@ sca3000_show_available_measurement_modes(struct device *dev,
} }
/** /**
* sca3000_show_measurmenet_mode() sysfs read of current mode * sca3000_show_measurement_mode() sysfs read of current mode
**/ **/
static ssize_t static ssize_t
sca3000_show_measurement_mode(struct device *dev, sca3000_show_measurement_mode(struct device *dev,
...@@ -547,7 +546,7 @@ static ssize_t sca3000_read_av_freq(struct device *dev, ...@@ -547,7 +546,7 @@ static ssize_t sca3000_read_av_freq(struct device *dev,
return ret; return ret;
} }
/** /**
* __sca3000_get_base_frequency() obtain mode specific base frequency * __sca3000_get_base_freq() obtain mode specific base frequency
* *
* lock must be held * lock must be held
**/ **/
...@@ -972,7 +971,7 @@ static ssize_t sca3000_set_free_fall_mode(struct device *dev, ...@@ -972,7 +971,7 @@ static ssize_t sca3000_set_free_fall_mode(struct device *dev,
} }
/** /**
* sca3000_set_mo_det() simple on off control for motion detector * sca3000_write_event_config() simple on off control for motion detector
* *
* This is a per axis control, but enabling any will result in the * This is a per axis control, but enabling any will result in the
* motion detector unit being enabled. * motion detector unit being enabled.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment