mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5e73ea1a31
commit
95c9617472
167 changed files with 461 additions and 455 deletions
|
|
@ -475,12 +475,12 @@ EXPORT_SYMBOL(nfc_class);
|
|||
static int match_idx(struct device *d, void *data)
|
||||
{
|
||||
struct nfc_dev *dev = to_nfc_dev(d);
|
||||
unsigned *idx = data;
|
||||
unsigned int *idx = data;
|
||||
|
||||
return dev->idx == *idx;
|
||||
}
|
||||
|
||||
struct nfc_dev *nfc_get_device(unsigned idx)
|
||||
struct nfc_dev *nfc_get_device(unsigned int idx)
|
||||
{
|
||||
struct device *d;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx,
|
|||
u8 comm_mode, u8 rf_mode);
|
||||
int nfc_genl_dep_link_down_event(struct nfc_dev *dev);
|
||||
|
||||
struct nfc_dev *nfc_get_device(unsigned idx);
|
||||
struct nfc_dev *nfc_get_device(unsigned int idx);
|
||||
|
||||
static inline void nfc_put_device(struct nfc_dev *dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue