Searched refs:lap_err (Results 1 – 1 of 1) sorted by relevance
10119 int palm_err, lap_err; in tpacpi_proxsensor_init() local10122 lap_err = lapsensor_get(&has_lapsensor, &lap_state); in tpacpi_proxsensor_init()10124 if ((palm_err == -ENODEV) && (lap_err == -ENODEV)) in tpacpi_proxsensor_init()10129 if (lap_err && (lap_err != -ENODEV)) in tpacpi_proxsensor_init()10130 return lap_err; in tpacpi_proxsensor_init()