| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for ELAN eKTF2127 i2c touchscreen controller |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * For this driver the layout of the Chipone icn8318 i2c |
|---|
| 5 | 6 | * touchscreencontroller is used. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | 7 | * |
|---|
| 12 | 8 | * Author: |
|---|
| 13 | 9 | * Michel Verlaan <michel.verl@gmail.com> |
|---|
| .. | .. |
|---|
| 51 | 47 | struct touchscreen_properties prop; |
|---|
| 52 | 48 | }; |
|---|
| 53 | 49 | |
|---|
| 54 | | -static void ektf2127_parse_coordinates(const u8* buf, unsigned int touch_count, |
|---|
| 50 | +static void ektf2127_parse_coordinates(const u8 *buf, unsigned int touch_count, |
|---|
| 55 | 51 | struct input_mt_pos *touches) |
|---|
| 56 | 52 | { |
|---|
| 57 | 53 | int index = 0; |
|---|