drivers: gpio_sch: use unified kernel APIS

Use unified kernel APIs and align syntax after function name changes.

Change-Id: I028f4faeaf33e28197d5f705063459188272027d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-11-12 07:15:52 -05:00 committed by Anas Nashif
commit cf054a2665
2 changed files with 30 additions and 29 deletions

View file

@ -39,8 +39,8 @@ struct gpio_sch_config {
uint8_t stride[3];
};
#define GPIO_SCH_POLLING_STACK_SIZE 1024
#define GPIO_SCH_POLLING_TICKS (sys_clock_ticks_per_sec / 5)
#define GPIO_SCH_POLLING_STACK_SIZE 1024
#define GPIO_SCH_POLLING_MSEC 200
struct gpio_sch_data {
char __stack polling_stack[GPIO_SCH_POLLING_STACK_SIZE];