Re: [PATCHv4 wl-drv-next 2/2] mt7601u: use linux/bitfield.h

2016-07-05 Thread Kalle Valo
Jakub Kicinski writes: > Use the newly added linux/bitfield.h. > > Signed-off-by: Jakub Kicinski [...] > +#define MT76_SET FIELD_PUT > +#define MT76_GET FIELD_GET This define is useless now, I would just remove it entirely.

Re: [PATCHv4 wl-drv-next 2/2] mt7601u: use linux/bitfield.h

2016-07-05 Thread Kalle Valo
Jakub Kicinski writes: > Use the newly added linux/bitfield.h. > > Signed-off-by: Jakub Kicinski [...] > +#define MT76_SET FIELD_PUT > +#define MT76_GET FIELD_GET This define is useless now, I would just remove it entirely. But you can do that in a follow up patch. -- Kalle Valo

[PATCHv4 wl-drv-next 2/2] mt7601u: use linux/bitfield.h

2016-07-05 Thread Jakub Kicinski
Use the newly added linux/bitfield.h. Signed-off-by: Jakub Kicinski --- drivers/net/wireless/mediatek/mt7601u/dma.h | 2 - drivers/net/wireless/mediatek/mt7601u/mt7601u.h | 5 +- drivers/net/wireless/mediatek/mt7601u/util.h| 77 -

[PATCHv4 wl-drv-next 2/2] mt7601u: use linux/bitfield.h

2016-07-05 Thread Jakub Kicinski
Use the newly added linux/bitfield.h. Signed-off-by: Jakub Kicinski --- drivers/net/wireless/mediatek/mt7601u/dma.h | 2 - drivers/net/wireless/mediatek/mt7601u/mt7601u.h | 5 +- drivers/net/wireless/mediatek/mt7601u/util.h| 77 - 3 files changed, 4