cm3623: Store function for DEVICE_ATTR should return size on success.
cm3623: Return -EINVAL instead of -1.
cm3623: Unlock mutex_lock on failure case.