lkml.org 
[lkml]   [2013]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 17/38] iio: press: st: Append _press to pressure sensor device names
Date
Some of ST's sensors are appended with their sensor type and some
are not. For consistency we're extending the same naming convention
throughout.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
drivers/iio/pressure/st_pressure.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index b0b6306..f1bebce 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -14,7 +14,7 @@
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>

-#define LPS331AP_PRESS_DEV_NAME "lps331ap"
+#define LPS331AP_PRESS_DEV_NAME "lps331ap_press"

/**
* struct st_sensors_platform_data - default press platform data
--
1.8.1.2


\
 
 \ /
  Last update: 2013-09-10 15:21    [W:0.748 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site