Move HW_VAR_SET_RPWM handling to rtl8723a_set_rpwm()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Simplify GetHwReg8723AU()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Eliminate typedef _queue

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Eliminate last ugly enum typedef

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove duplicate *c2h_id_filter typedef

This is already included in osdep_service.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove unused header h2clbk.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove unused header nic_spec.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove unused and confusing SUCCESS/FAIL #defines

Note the driver uses _SUCCESS/_FAIL which have conflicting values from
the above.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove unused NDIS_OID/NDIS_STATUS #defines

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove yet another byte swapping API

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove another pile of unused macros

Who knows where this stuff was copied from? In any case, we don't need
it!

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Replace own FIELD_OFFSET() macro with kernel offsetof()

This renders basic_types.h empty, so remove it as well

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Apply some consistency to the formatting of rtl8723a_spec.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove duplicate GPIO register definitions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove MAC_ADDR_LEN and use ETH_ALEN instead

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Clean up worst mess around switch() statements in usb_halinit.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Fix up a pile of ugliness to make the code more readable

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Why!?? Oh Why?1?!??

This really isn't that hard!!!

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove empty checksum_offload

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Remove _func_enter_ and _func_exit_ macros

If tracing of routines is wanted, the kernel facilities are better.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>