Lines Matching defs:retval
83 int retval;
85 retval = kstrtoul(buf, 10, &val);
86 if (retval < 0) {
87 dev_err(dev, "could not parse timeout value %d\n", retval);
88 return retval;
92 retval = turn_on(vib, (u16)val);
94 retval = turn_off(vib);
95 if (retval)
96 return retval;
122 int retval;
138 retval = PTR_ERR(connection);
147 retval = gb_connection_enable(connection);
148 if (retval)
158 retval = vib->minor;
164 retval = -EINVAL;
184 return retval;
221 int retval;
223 retval = class_register(&vibrator_class);
224 if (retval)
225 return retval;
227 retval = greybus_register(&gb_vibrator_driver);
228 if (retval)
236 return retval;