}/*init gpio*/if(gpio_is_valid(pdata->led_gpio)) { ret= gpio_request_one(pdata->led_gpio, pdata->led_flag, pdata->gpio_label);if(ret) { dev_err(dev,"failed to request the gpio\n");gotofail1; } ret= gpio_direction_output(pdata->led_gpio,0);if(ret) { dev_err(dev,"...