Lines Matching defs:rc
109 int rc;
113 rc = strict_strtoul(buf, 0, &power);
114 if (rc)
115 return rc;
117 rc = -ENXIO;
125 rc = count;
129 return rc;
143 int rc;
147 rc = strict_strtoul(buf, 0, &brightness);
148 if (rc)
149 return rc;
151 rc = -ENXIO;
156 rc = -EINVAL;
162 rc = count;
169 return rc;
183 int rc = -ENXIO;
188 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd));
191 return rc;
277 int rc;
299 rc = device_register(&new_bd->dev);
300 if (rc) {
302 return ERR_PTR(rc);
305 rc = backlight_register_fb(new_bd);
306 if (rc) {
308 return ERR_PTR(rc);