-
Vaibhav Gupta authored
Instead of manually calculating the size, allocating the memory, and writing data to it, use devm_kasprintf(). It will do all the job in one go. Signed-off-by: Vaibhav Gupta <vaibhav.gupta@cern.ch>
e41ca478
Instead of manually calculating the size, allocating the memory, and
writing data to it, use devm_kasprintf(). It will do all the job in one
go.
Signed-off-by: Vaibhav Gupta <vaibhav.gupta@cern.ch>