]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c96e94042eec95d909eb965715386b77837be71
tree5552460ffe63d415bed5879658db5a847d26ea89
parent8491e4849a3bf4bfc8c61dc4e681c3394cbf1743
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