提交 256f3bfc 编写于 作者: R Rafael J. Wysocki 提交者: David S. Miller

irda: Remove useless pm_dev references

Some IRDA headers contain references to 'struct pm_dev' that are not
necessary any more and may be removed.
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
Acked-by: NPavel Machek <pavel@suse.cz>
Signed-off-by: NSamuel Ortiz <samuel@sortiz.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 81c684d1
...@@ -219,8 +219,6 @@ struct ali_ircc_cb { ...@@ -219,8 +219,6 @@ struct ali_ircc_cb {
int index; /* Instance index */ int index; /* Instance index */
unsigned char fifo_opti_buf; unsigned char fifo_opti_buf;
struct pm_dev *dev;
}; };
static inline void switch_bank(int iobase, int bank) static inline void switch_bank(int iobase, int bank)
......
...@@ -122,6 +122,5 @@ struct au1k_private { ...@@ -122,6 +122,5 @@ struct au1k_private {
struct timer_list timer; struct timer_list timer;
spinlock_t lock; /* For serializing operations */ spinlock_t lock; /* For serializing operations */
struct pm_dev *dev;
}; };
#endif /* AU1000_IRCC_H */ #endif /* AU1000_IRCC_H */
...@@ -118,7 +118,6 @@ struct via_ircc_cb { ...@@ -118,7 +118,6 @@ struct via_ircc_cb {
int index; /* Instance index */ int index; /* Instance index */
struct eventflag EventFlag; struct eventflag EventFlag;
struct pm_dev *dev;
unsigned int chip_id; /* to remember chip id */ unsigned int chip_id; /* to remember chip id */
unsigned int RetryCount; unsigned int RetryCount;
unsigned int RxDataReady; unsigned int RxDataReady;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册