driver: gpio: remove nano_timer code

drivers/gpio/gpio_pcal9535a.c defines a nano_timer,
but never uses it. So delete it.
gpio_sch.c uses a k_timer, but gpio_sch.h defines a
nano_timer. So change the variable poll_timer to
type k_timer.

Jira: ZEP-1525

Change-Id: I884e4703c1ace61da5be7d9c63e58e7c3bce7f68
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
This commit is contained in:
Qiu Peiyang 2017-01-06 14:03:57 +08:00 committed by Anas Nashif
commit ed0e5e6fd5
3 changed files with 1 additions and 6 deletions

View file

@ -45,7 +45,7 @@ struct gpio_sch_config {
struct gpio_sch_data {
char __stack polling_stack[GPIO_SCH_POLLING_STACK_SIZE];
sys_slist_t callbacks;
struct nano_timer poll_timer;
struct k_timer poll_timer;
struct {
uint32_t gtpe;