This adds a function to enable/disable permanent write for the IIM module so that C users no longer have to fiddle with device parameters. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>