mac802154: ops: declare channel and page as u8
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:19 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commite37d2ec82a222f1819e7793a27bc052999a379fb
tree363144f3952095eb48fed347fe3b4f2c9919fa9f
parent16301861004e50be9c47113cceca62f56516a9a2
mac802154: ops: declare channel and page as u8

The range of channel and page fits into an unsigned byte range. This
patch changes the set_channel parameter definitions for channel and
page to u8.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/fakelb.c
drivers/net/ieee802154/mrf24j40.c
include/net/mac802154.h