forked from mirrors/linux
		
	Fix log message about future removal of interface
If this is going away, it won't be in 2012. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
		
							parent
							
								
									f79a901331
								
							
						
					
					
						commit
						b58b9ffc95
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -1659,7 +1659,7 @@ static ssize_t show_bool_threeg(struct device *dev,
 | 
				
			||||||
	u32 result; \
 | 
						u32 result; \
 | 
				
			||||||
	acpi_status status;
 | 
						acpi_status status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pr_info("This threeg sysfs will be removed in 2012 - used by: %s\n",
 | 
						pr_info("This threeg sysfs will be removed in 2014 - used by: %s\n",
 | 
				
			||||||
		current->comm);
 | 
							current->comm);
 | 
				
			||||||
	status = get_u32(&result, ACER_CAP_THREEG);
 | 
						status = get_u32(&result, ACER_CAP_THREEG);
 | 
				
			||||||
	if (ACPI_SUCCESS(status))
 | 
						if (ACPI_SUCCESS(status))
 | 
				
			||||||
| 
						 | 
					@ -1672,7 +1672,7 @@ static ssize_t set_bool_threeg(struct device *dev,
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	u32 tmp = simple_strtoul(buf, NULL, 10);
 | 
						u32 tmp = simple_strtoul(buf, NULL, 10);
 | 
				
			||||||
	acpi_status status = set_u32(tmp, ACER_CAP_THREEG);
 | 
						acpi_status status = set_u32(tmp, ACER_CAP_THREEG);
 | 
				
			||||||
	pr_info("This threeg sysfs will be removed in 2012 - used by: %s\n",
 | 
						pr_info("This threeg sysfs will be removed in 2014 - used by: %s\n",
 | 
				
			||||||
		current->comm);
 | 
							current->comm);
 | 
				
			||||||
	if (ACPI_FAILURE(status))
 | 
						if (ACPI_FAILURE(status))
 | 
				
			||||||
		return -EINVAL;
 | 
							return -EINVAL;
 | 
				
			||||||
| 
						 | 
					@ -1684,7 +1684,7 @@ static DEVICE_ATTR(threeg, S_IRUGO | S_IWUSR, show_bool_threeg,
 | 
				
			||||||
static ssize_t show_interface(struct device *dev, struct device_attribute *attr,
 | 
					static ssize_t show_interface(struct device *dev, struct device_attribute *attr,
 | 
				
			||||||
	char *buf)
 | 
						char *buf)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	pr_info("This interface sysfs will be removed in 2012 - used by: %s\n",
 | 
						pr_info("This interface sysfs will be removed in 2014 - used by: %s\n",
 | 
				
			||||||
		current->comm);
 | 
							current->comm);
 | 
				
			||||||
	switch (interface->type) {
 | 
						switch (interface->type) {
 | 
				
			||||||
	case ACER_AMW0:
 | 
						case ACER_AMW0:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue