This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
/* Macros to access registers */
-/* Delay counter, 16bit */
-#define RtdDelayCounter(dev, v) \
- writel((v) & 0xffff, devpriv->las0+LAS0_DCLK)
-
/* About counter, 16bit */
#define RtdAboutCount(dev) \
readl(devpriv->las0+LAS0_ACNT)