OSDN Git Service

staging: dgnc: Remove driver-wide polling counter variable
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sat, 16 Aug 2014 14:58:06 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 16:52:24 +0000 (09:52 -0700)
commit3599abafcc51594f1629f19a6a12ff92f6e94017
tree5552460ffe63d415bed5879658db5a847d26ea89
parent1d8c5aa329e7a7a17d9c99122d89d76663195ddb
staging: dgnc: Remove driver-wide polling counter variable

The polling counter variable is only exposed via sysfs and has no other
purpose.

Now, since the polling shall be implemented as a board specific feature
rather than being global in the driver this counter is obsolete.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_driver.h
drivers/staging/dgnc/dgnc_sysfs.c