qca: Modify kstrtoint() function

This change modifies kstrtoint function to update
the result in destination buffer and return zero on success.

Change-Id: Ibdd9b36eed39d5e2ee3afc6f1609c1e35d5fb464
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
1 file changed