Q Qiao Zhou #
Message details and related content
change log [v10->v9]: 1, change pr_err to dev_err. 2, add device_init_wakeup(,0) when device removes. 3, add ack by Dmitry. change log [v9->v8]: 1, remove devm_xxx api. 2, fix the potential oops issue. 3, use __set_bit to set key_bit. change log [v8->v7]: 1, remove file name in comments. 2, add error handling to regmap_read. 3, remove unnecessary onkey suspend/resume wrapper api. 4, remove the pm80x_chip cast by directly define the struct type. 5, fix the double free input device issue. change log [v7->v6]: 1, add the ack by Arnd for the first two patches. 2, add NULL terminater for id_table in 88pm800.c & 88pm805.c. change log [v6->v5]: export_symbol_gpl for pm80x_regmap_config to fix build issue for module. change log [v5->v4]: 1, change the file name, from 88pm800-core.c, 88pm805-core.c, 88pm80x-i2c.c to 88pm800.c, 88pm805.c, 88pm80x.c, and modified Makefile accordingly. 2, replace the spinlock used to protect wakeup flag, with using set_bit/ clear_bit, which is suitable adn enough in SMP env. 3, add the version number in each patch. change log [v4->v3]: 1, provide unified suspend/resume api for all sub-devices, and add protection for 800 & 805 wakeup flag in SMP case. 2, clean register definition in 88pm80x.h, and thanks Arnd's help. 3, some minor changes in mfd Kconfig/Makefile. change log [v3->v2]: 1, dynamically get the irq_base, for both regmap_add_irq_chip and mfd_add_devices. add pm80x_request_irq & pm80x_free_irq for sub-driver