[DRIVERS] Linux compatible devm_xxx() memory allocation APIs

This patch adds Linux compatible resource managed memory allocation
devm_xxx() APIs to linux/device.h

Signed-off-by: Anup Patel <anup@brainfault.org>