[PATCH 5.15 209/244] pwm: sti: Reduce number of allocations and drop usage of chip_data