Fix compiler warnings, EXPORT_SYMBOL in c2k_otp.c

We previously saw this output from GCC:

drivers/otp/c2k_otp.c: In function 'otp_write':
drivers/otp/c2k_otp.c:31:3: warning: 'return' with a value, in function
returning void
drivers/otp/c2k_otp.c:34:3: warning: 'return' with a value, in function
returning void
drivers/otp/c2k_otp.c:28:36: warning: unused variable 'exp_data'
drivers/otp/c2k_otp.c:28:21: warning: unused variable 'read_done'
drivers/otp/c2k_otp.c:28:6: warning: unused variable 'read_data'
drivers/otp/c2k_otp.c: In function 'c2k_otp_probe':
drivers/otp/c2k_otp.c:150:1: warning: no return statement in function
returning non-void

Also, fix one EXPORT_SYMBOL statement that refers to a
non-existent/obsolete symbol.

Change-Id: I7733725d3f06721e8ce1a1dbd7e4d6d4af85ede3
1 file changed