meson: pwm: fix coverity warning
authorYingyuan Zhu <yingyuan.zhu@amlogic.com>
Wed, 29 Aug 2018 08:03:36 +0000 (16:03 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 6 Sep 2018 13:56:21 +0000 (06:56 -0700)
commit343d62717201c76796f7bbc0aea9211aa945f33c
tree2eaf54c214cf69a690209abefbf800cfa38e4b11
parente11c1a802aafd78c6a54d57035c0b039e7d34f7e
meson: pwm: fix coverity warning

PD#172718: meson: pwm: fix coverity warning

"value < 0" and "value > 255", two conditions cannot be
met simultaneously.So that the if statement cannot be executed.
This causes "Logically dead code".

Change-Id: I55930eb7ae9c6b44aa3b20b85aab6fbae9b04210
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
drivers/amlogic/pwm/pwm_meson_sysfs.c