On Mon, 2008-07-28 at 22:47 -0700, lrodriguez@xxxxxxxxxxx wrote: > From: Sujith Manoharan <smanoharan@xxxxxxxxxxx> > > diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h > index 6fa1eb6..c3294c0 100644 > --- a/drivers/net/wireless/ath9k/ath9k.h > +++ b/drivers/net/wireless/ath9k/ath9k.h > @@ -622,17 +622,15 @@ struct hal_country_entry { > > #define SM(_v, _f) (((_v) << _f##_S) & _f) > #define MS(_v, _f) (((_v) & _f) >> _f##_S) > -#define OS_REG_RMW(_a, _r, _set, _clr) \ > +#define REG_RMW(_a, _r, _set, _clr) \ > REG_WRITE(_a, _r, (REG_READ(_a, _r) & ~(_clr)) | (_set)) I think these are pretty good candidates for inline functions. I'm not sure removing "OS_" is a useful intermediate step. It's better to keep such massive changes to the minimum to avoid potential conflicts with other patches. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html