irq: Privatize irq_common_data::state_use_accessors
authorBoqun Feng <boqun.feng@gmail.com>
Tue, 29 Dec 2015 04:18:48 +0000 (12:18 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 24 Feb 2016 03:59:54 +0000 (19:59 -0800)
commitb354286effa52da6cb1b1f16604d41ff81b8c445
tree9657369ab89a8d8c8200fcb5ba796619a6ea41f8
parent67c583a7de3433a971983490b37ad2bff3c55463
irq: Privatize irq_common_data::state_use_accessors

irq_common_data::state_use_accessors is not designed for public use.
Therefore make it private so that people who write code accessing it
directly will get blamed by sparse. Also #undef the macro
__irqd_to_state after used in header files, so that the macro can't be
misused.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/irq.h
kernel/irq/internals.h