OSDN Git Service

staging: wilc1000: clean up timer feature
authorArnd Bergmann <arnd@arndb.de>
Mon, 1 Jun 2015 19:06:40 +0000 (21:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jun 2015 04:45:22 +0000 (13:45 +0900)
commit042f19c9359400f6d31e568416aa484a94513346
treed21b609201eeb09955d347ba9a291678ec0415ba
parentb96ff76a073a4502dd2fb6298d2582823eebc0f7
staging: wilc1000: clean up timer feature

The driver has a simple wrapper around timer_list, and an
optional but unused feature to make the timer periodic.

This removes support for the periodic timer and simplifies
the code around timers.

A follow-up should replace the remaining wrapper with
open-coded timers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_osconfig.h
drivers/staging/wilc1000/wilc_oswrapper.h
drivers/staging/wilc1000/wilc_platform.h
drivers/staging/wilc1000/wilc_timer.c
drivers/staging/wilc1000/wilc_timer.h