History

Input: bu21013_ts - remove support for platform data

There are no current users of the platform data in the tree, and any new users should either use device tree, or static device properties to describe the device. This change drop the platform data definition and handling and moves the driver over to generic device properties API. We also drop support for the external clock. If it is needed we will have to extend the bindings to supply the clock reference and handle it properly in the driver. Also, wakeup setting should be coming from I2C client.

Dmitry Torokhov committed 7 years ago

Commit 1eb7b4c1 parent caeb1aa2 files · +37 −102Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/input/bu21013.h+0−30
@@ -1,30 +0,0 @@
1−/* SPDX-License-Identifier: GPL-2.0-only */
2−/*
3− * Copyright (C) ST-Ericsson SA 2010
4− * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
5− */
6−
7−#ifndef _BU21013_H
8−#define _BU21013_H
9−
10−/**
11− * struct bu21013_platform_device - Handle the platform data
12− * @touch_x_max: touch x max
13− * @touch_y_max: touch y max
14− * @ext_clk: external clock flag
15− * @x_flip: x flip flag
16− * @y_flip: y flip flag
17− * @wakeup: wakeup flag
18− *
19− * This is used to handle the platform data
20− */
21−struct bu21013_platform_device {
22− int touch_x_max;
23− int touch_y_max;
24− bool ext_clk;
25− bool x_flip;
26− bool y_flip;
27− bool wakeup;
28−};
29−
30−#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t