From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 16 Oct 2024 01:20:19 +0000 Subject: [PATCH] 修改GPIO导出默认初始值 --- kernel/drivers/input/touchscreen/tsc2007_iio.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/input/touchscreen/tsc2007_iio.c b/kernel/drivers/input/touchscreen/tsc2007_iio.c index e27a956..752eb7f 100644 --- a/kernel/drivers/input/touchscreen/tsc2007_iio.c +++ b/kernel/drivers/input/touchscreen/tsc2007_iio.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2016 Golden Delicious Comp. GmbH&Co. KG * Nikolaus Schaller <hns@goldelico.com> - * - * 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. */ #include <linux/i2c.h> @@ -122,7 +119,6 @@ iio->ts = ts; indio_dev->name = "tsc2007"; - indio_dev->dev.parent = &ts->client->dev; indio_dev->info = &tsc2007_iio_info; indio_dev->modes = INDIO_DIRECT_MODE; indio_dev->channels = tsc2007_iio_channel; -- Gitblit v1.6.2