[PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string

Walter Lozano
2015-06-26T02:26:45Z

This patch fixes the compatible string for adxl345 digital accelerometer
after the deprecation of compatible string adxl345x.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
---
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index d343e03..5e17fd1 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -68,7 +68,7 @@
status = "okay";

accel1: accelerometer@53 {
- compatible = "adxl34x";
+ compatible = "adi,adxl345";
reg = <0x53>;

interrupt-parent = <&portc>;
--
1.7.10.4