aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJingkui Wang <jkwang@google.com>2016-12-10 22:44:10 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-12 14:20:32 -0800
commit34888602eb99df174e76eafeb613ad857f534ebb (patch)
tree9641c383214c11116b9ee16323decdf6f68bc5d6 /include/linux/platform_data
parentInput: drv260x - use temporary for &client->dev (diff)
downloadlinux-dev-34888602eb99df174e76eafeb613ad857f534ebb.tar.xz
linux-dev-34888602eb99df174e76eafeb613ad857f534ebb.zip
Input: drv260x - use generic device properties
Update driver drv260x to use generic device properties so that it can be used on non-DT systems. We also remove platform data as generic device properties work on static board code as well. Signed-off-by: Jingkui Wang <jkwang@google.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/drv260x-pdata.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/linux/platform_data/drv260x-pdata.h b/include/linux/platform_data/drv260x-pdata.h
deleted file mode 100644
index 0a03b0944411..000000000000
--- a/include/linux/platform_data/drv260x-pdata.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Platform data for DRV260X haptics driver family
- *
- * Author: Dan Murphy <dmurphy@ti.com>
- *
- * Copyright: (C) 2014 Texas Instruments, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
-
-#ifndef _LINUX_DRV260X_PDATA_H
-#define _LINUX_DRV260X_PDATA_H
-
-struct drv260x_platform_data {
- u32 library_selection;
- u32 mode;
- u32 vib_rated_voltage;
- u32 vib_overdrive_voltage;
-};
-
-#endif