diff options
| author | Eric Tashakkor <w36098@motorola.com> | 2014-04-29 08:18:51 -0500 | 
|---|---|---|
| committer | ERIC TASHAKKOR <w36098@motorola.com> | 2014-05-01 20:54:00 +0000 | 
| commit | 4fd2d5eb89c6e4dea69a4a8c70b133f8d0865a1f (patch) | |
| tree | 832f52747c8ef1a4dc3584bfd3f4af4cd081efd0 /drivers/misc/m4sensorhub_heartrate.c | |
| parent | 2b571d15d6ff78c5d79562098ed1a013aefebc04 (diff) | |
| download | olio-linux-3.10-4fd2d5eb89c6e4dea69a4a8c70b133f8d0865a1f.tar.xz olio-linux-3.10-4fd2d5eb89c6e4dea69a4a8c70b133f8d0865a1f.zip  | |
IKXCLOCK-870 Add M4 Fusion Driver
Added a separate IIO fusion driver to handle M4 fusion data.
Removed duplicate mutex_destroy() calls.
Deleted unused pressure sensor header.
Change-Id: I2f24a30dbba5b84f590618e3b506d04c92d2a136
Signed-off-by: Eric Tashakkor <w36098@motorola.com>
Diffstat (limited to 'drivers/misc/m4sensorhub_heartrate.c')
| -rw-r--r-- | drivers/misc/m4sensorhub_heartrate.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/m4sensorhub_heartrate.c b/drivers/misc/m4sensorhub_heartrate.c index feb9ab0b54a..fc207b32834 100644 --- a/drivers/misc/m4sensorhub_heartrate.c +++ b/drivers/misc/m4sensorhub_heartrate.c @@ -531,7 +531,6 @@ static int m4hrt_probe(struct platform_device *pdev)  	return 0;  m4hrt_probe_fail: -	mutex_destroy(&(dd->mutex));  	m4hrt_remove_iiodev(iio); /* iio and dd are freed here */  m4hrt_probe_fail_noiio:  	m4hrt_err("%s: Probe failed with error code %d.\n", __func__, err); @@ -559,7 +558,6 @@ static int __exit m4hrt_remove(struct platform_device *pdev)  	m4sensorhub_irq_unregister(dd->m4,  				   M4SH_IRQ_HRSENSOR_DATA_READY);  	m4sensorhub_unregister_initcall(m4hrt_driver_init); -	mutex_destroy(&(dd->mutex));  	m4hrt_remove_iiodev(iio);  /* dd is freed here */  m4hrt_remove_exit:  |