tg3: Add common function tg3_ape_event_lock()
by refactoring code in tg3_ape_send_event(). The common function will be used in subsequent patches. Signed-off-by: NMatt Carlson <mcarlson@broadcom.com> Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录