commit | 59812961f2853db1feac962b843a202377502508 | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Thu Jul 15 10:51:06 2021 +0200 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Thu Jul 15 11:50:00 2021 -0400 |
tree | 39ec89b040235278426759b6f16f96c69cb0a566 | |
parent | 26bd4fb45e87c614b67441bcdb99a3b44ab0beef [diff] |
drivers/sensor: lis2mdl: Fix errors when CONFIG_PM_DEVICE=y Fix a couple of issues related to Power Management: 1. A build error because 'dev' was used even if not declared in the caller routine scope 2. The lis2mdl power management init specific routine was not declared in in the device instance definition Signed-off-by: Armando Visconti <armando.visconti@st.com>