[PATCH 6.1 331/379] pwm: sti: Reduce number of allocations and drop usage of chip_data