[PATCH 3/4] firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER

2013-01-31 Thread Takashi Iwai
By shuffling the code, reduce a few ifdefs in firmware_class.c. Also, firmware_buf fmt field is changed to is_pages_buf boolean for simplification. Acked-by: Ming Lei Signed-off-by: Takashi Iwai --- drivers/base/firmware_class.c | 313 -- 1 file changed,

[PATCH 3/4] firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER

2013-01-30 Thread Takashi Iwai
By shuffling the code, reduce a few ifdefs in firmware_class.c. Also, firmware_buf fmt field is changed to is_pages_buf boolean for simplification. Signed-off-by: Takashi Iwai --- drivers/base/firmware_class.c | 313 -- 1 file changed, 151 insertions(+), 1

[PATCH 3/4] firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER

2013-01-29 Thread Takashi Iwai
By shuffling the code, reduce a few ifdefs in firmware_class.c. Also, firmware_buf fmt field is changed to is_pages_buf boolean for simplification. Signed-off-by: Takashi Iwai --- drivers/base/firmware_class.c | 369 -- 1 file changed, 179 insertions(+), 1

[PATCH 3/4] firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER

2013-01-25 Thread Takashi Iwai
By shuffling the code, reduce a few ifdefs in firmware_class.c. Also, firmware_buf fmt field is changed to is_pages_buf boolean for simplification. Signed-off-by: Takashi Iwai --- drivers/base/firmware_class.c | 377 +- 1 file changed, 184 insertions(+), 1