[PATCH 6.6 536/603] pwm: sti: Reduce number of allocations and drop usage of chip_data