fix code example

Signed-off-by: Nishanth Menon <nm@ti.com>