On Thu, Nov 19, 2015 at 02:26:36PM +0200, Irina Tirdea wrote:
> +     if (ts->gpiod_int && ts->gpiod_rst) {
> +             /* update device config */
> +             ts->cfg_name = kasprintf(GFP_KERNEL, "goodix_%d_cfg.bin",
> +                                      ts->id);

devm_kasprintf maybe (don't resubmit)?

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to