From af7298a24724ba7155f6952689b3249de7ab87ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=83=AD=E6=AF=85?= Date: Mon, 21 Apr 2014 14:09:41 +0800 Subject: [PATCH] p977: 1.tp: set int ct363_first_init_flag to static int. 2. 5v_en: move unnecessary log --- drivers/input/touchscreen/ct36x/ct363.c | 2 +- drivers/misc/5v_en.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/ct36x/ct363.c b/drivers/input/touchscreen/ct36x/ct363.c index 65ebfb5783f5..5b57be34f312 100755 --- a/drivers/input/touchscreen/ct36x/ct363.c +++ b/drivers/input/touchscreen/ct36x/ct363.c @@ -133,7 +133,7 @@ static void ct363_deinit(struct ct36x_data *ts) return; } -int ct363_first_init_flag = 1; +static int ct363_first_init_flag = 1; static int ct363_suspend(struct ct36x_data *ts) { int ret = 0; diff --git a/drivers/misc/5v_en.c b/drivers/misc/5v_en.c index b8d282eeafd7..d8dc49b9ea77 100644 --- a/drivers/misc/5v_en.c +++ b/drivers/misc/5v_en.c @@ -29,7 +29,7 @@ static int five_v_en_probe(struct platform_device *pdev) int ret; int en_value; - printk("func: %s\n", __func__); + //printk("func: %s\n", __func__); if (!node) return -ENODEV; @@ -49,26 +49,26 @@ static int five_v_en_probe(struct platform_device *pdev) } gpio_direction_output(gpio, en_value); - printk("func: %s\n", __func__); + //printk("func: %s\n", __func__); return 0; } static int five_v_en_remove(struct platform_device *pdev) { - printk("func: %s\n", __func__); + //printk("func: %s\n", __func__); return 0; } #ifdef CONFIG_PM_SLEEP static int five_v_en_suspend(struct device *dev) { - printk("func: %s\n", __func__); + //printk("func: %s\n", __func__); return 0; } static int five_v_en_resume(struct device *dev) { - printk("func: %s\n", __func__); + //printk("func: %s\n", __func__); return 0; } #endif -- 2.34.1