Searched refs:lap_err (Results 1 – 1 of 1) sorted by relevance
10192 int palm_err, lap_err; in tpacpi_proxsensor_init() local10195 lap_err = lapsensor_get(&has_lapsensor, &lap_state); in tpacpi_proxsensor_init()10197 if ((palm_err == -ENODEV) && (lap_err == -ENODEV)) in tpacpi_proxsensor_init()10202 if (lap_err && (lap_err != -ENODEV)) in tpacpi_proxsensor_init()10203 return lap_err; in tpacpi_proxsensor_init()