Fix two bugs for geni-qcom and use dev managed function to simplify code. Compile-tested only. Changes in v4: - Correct the "data" of devm_add_action_or_reset(). - Add reviewed-by. - Update the commit message. Changes in v3: - Adjust the runtime PM patch to be the first. - Use devm_pm_runtime_enable() to undo runtime PM changes. - Land the rest of the cleanups afterwards. - Update the commit message. Changes in v2: - Split out the device managed cleanup patch. - PATCH -next -> PATCH - Also fix the incorrect free_irq() sequence. Jinjie Ruan (3): spi: geni-qcom: Undo runtime PM changes at driver exit time spi: geni-qcom: Fix incorrect free_irq() sequence spi: geni-qcom: Use devm functions to simplify code drivers/spi/spi-geni-qcom.c | 50 ++++++++++++++----------------------- 1 file changed, 19 insertions(+), 31 deletions(-) -- 2.34.1