Re: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-29 Thread Thomas Gleixner
On Tue, 29 Dec 2015, Boqun Feng wrote: > 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

[RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-28 Thread Boqun Feng
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 F