updated checkpatch.pl
[psensor.git] / src / lib / amd.c
index e5f6938..71c6cac 100644 (file)
@@ -1,21 +1,21 @@
 /*
   Copyright (C) 2010-2011 thgreasi@gmail.com
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301 USA
-*/
* Copyright (C) 2010-2011 thgreasi@gmail.com, jeanfi@gmail.com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
+ */
 #ifndef LINUX
 #define LINUX 1
 #endif
@@ -60,8 +60,8 @@ static int *active_amd_adapters;
 /* Memory allocation function */
 static void __stdcall *adl_main_memory_alloc(int isize)
 {
-    void *lpbuffer = malloc(isize);
-    return lpbuffer;
+       void *lpbuffer = malloc(isize);
+       return lpbuffer;
 }
 
 /* Optional Memory de-allocation function */
@@ -75,7 +75,7 @@ static void __stdcall adl_main_memory_free(void **lpbuffer)
 
 static void *getprocaddress(void *plibrary, const char * name)
 {
-    return dlsym(plibrary, name);
+       return dlsym(plibrary, name);
 }
 
 /*