forked from mirrors/linux
		
	hwmon: (adt7475) fix checkpatch issues
fixed:
WARNING: static const char * array should probably be static const char * const
+	static const char *names[] = {
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
			
			
This commit is contained in:
		
							parent
							
								
									b2ae8f87f4
								
							
						
					
					
						commit
						99b8c83a77
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1232,7 +1232,7 @@ static void adt7475_remove_files(struct i2c_client *client, | |||
| static int adt7475_probe(struct i2c_client *client, | ||||
| 			 const struct i2c_device_id *id) | ||||
| { | ||||
| 	static const char *names[] = { | ||||
| 	static const char * const names[] = { | ||||
| 		[adt7473] = "ADT7473", | ||||
| 		[adt7475] = "ADT7475", | ||||
| 		[adt7476] = "ADT7476", | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Frans Meulenbroeks
						Frans Meulenbroeks