commit | 071b80290c9cb40d8e053b570ca802ccbbbb4dfc | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Jan 28 15:53:00 2022 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Feb 21 22:16:10 2022 -0500 |
tree | 8c536af00dc4f780efa8b9978e680cc5c147566d | |
parent | 97eb6a315444663000d6de9cbf821e1b6e78c089 [diff] |
drivers: kscan: ft5336: simplify device definition Use the IF_ENABLED macro helper to conditionally initialize the int_gpio field. This avoids duplication of initialization code. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>