[PATCH 6.5 494/550] pwm: sti: Reduce number of allocations and drop usage of chip_data