From: Andy Shevchenko Date: Tue, 24 Apr 2018 15:05:12 +0000 (+0300) Subject: mfd: intel-lpss: Correct names of RESETS register bits X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f3b23e5ab43c3bc7fcf6c8f0e9293ee510bf3095;p=linux.git mfd: intel-lpss: Correct names of RESETS register bits According to documentation the function has 2 bits for reset while iDMA 64-bit has only one. Rename it accordingly. Note, there is no functional change since we always handle them together. Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c index 4bcf117a7ba8f..50bffc3382d77 100644 --- a/drivers/mfd/intel-lpss.c +++ b/drivers/mfd/intel-lpss.c @@ -40,8 +40,8 @@ /* Offsets from lpss->priv */ #define LPSS_PRIV_RESETS 0x04 -#define LPSS_PRIV_RESETS_FUNC BIT(2) -#define LPSS_PRIV_RESETS_IDMA 0x3 +#define LPSS_PRIV_RESETS_IDMA BIT(2) +#define LPSS_PRIV_RESETS_FUNC 0x3 #define LPSS_PRIV_ACTIVELTR 0x10 #define LPSS_PRIV_IDLELTR 0x14