/* C_PIN_TABLE object ID's */
 
-        [OPAL_C_PIN_MSID] =
+       [OPAL_C_PIN_MSID] =
                { 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x84, 0x02},
        [OPAL_C_PIN_SID] =
                { 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x01},
 
 static void add_token_u64(int *err, struct opal_dev *cmd, u64 number)
 {
-
        size_t len;
        int msb;
 
 static int build_locking_user(u8 *buffer, size_t length, u8 lr)
 {
        if (length > OPAL_UID_LENGTH) {
-               pr_debug("Can't build locking range user, Length OOB\n");
+               pr_debug("Can't build locking range user. Length OOB\n");
                return -ERANGE;
        }
 
 
        if (!key) {
                const struct opal_key *okey = data;
+
                ret = start_generic_opal_session(dev, OPAL_SID_UID,
                                                 OPAL_ADMINSP_UID,
                                                 okey->key,
 static int start_admin1LSP_opal_session(struct opal_dev *dev, void *data)
 {
        struct opal_key *key = data;
+
        return start_generic_opal_session(dev, OPAL_ADMIN1_UID,
                                          OPAL_LOCKINGSP_UID,
                                          key->key, key->key_len);
                write_locked = 0;
                break;
        case OPAL_LK:
-               /* vars are initalized to locked */
+               /* vars are initialized to locked */
                break;
        default:
                pr_debug("Tried to set an invalid locking state... returning to uland\n");
                write_locked = 0;
                break;
        case OPAL_LK:
-               /* vars are initalized to locked */
+               /* vars are initialized to locked */
                break;
        default:
                pr_debug("Tried to set an invalid locking state.\n");
                return error;
 
        lc_status = response_get_u64(&dev->parsed, 4);
-       /* 0x08 is Manufacured Inactive */
+       /* 0x08 is Manufactured Inactive */
        /* 0x09 is Manufactured */
        if (lc_status != OPAL_MANUFACTURED_INACTIVE) {
                pr_debug("Couldn't determine the status of the Lifecycle state\n");
 static int __opal_set_mbr_done(struct opal_dev *dev, struct opal_key *key)
 {
        u8 mbr_done_tf = OPAL_TRUE;
-       const struct opal_step mbrdone_step [] = {
+       const struct opal_step mbrdone_step[] = {
                { opal_discovery0, },
                { start_admin1LSP_opal_session, key },
                { set_mbr_done, &mbr_done_tf },
        return ret;
 }
 
-static int opal_activate_lsp(struct opal_dev *dev, struct opal_lr_act *opal_lr_act)
+static int opal_activate_lsp(struct opal_dev *dev,
+                            struct opal_lr_act *opal_lr_act)
 {
        const struct opal_step active_steps[] = {
                { opal_discovery0, },