samples: sensor: mpr: Convert to use new dts macros

Convert DT_INST_0_HONEYWELL_MPR_LABEL to
DT_LABEL(DT_INST(0, honeywell_mpr))

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-30 12:04:21 -05:00 committed by Maureen Helm
parent 50750bfa31
commit 45242422c4

View file

@ -11,7 +11,7 @@
void main(void)
{
const char *const devname = DT_INST_0_HONEYWELL_MPR_LABEL;
const char *const devname = DT_LABEL(DT_INST(0, honeywell_mpr));
struct device *dev = device_get_binding(devname);
int rc;