updating spin_lock function syntax
removing depreciated __devinit (kernel3.8+)