tests: pwm_api: Convert to use DEVICE_DT_GET

Replace device_get_binding with DEVICE_DT_GET for getting access
to the pwm controller device.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2 files changed