mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	Drivers: memory: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, and __devinitconst, from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Hiroshi DOYU <hdoyu@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Axel Lin <axel.lin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									4e608e4ed9
								
							
						
					
					
						commit
						27796aa0dc
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -177,7 +177,7 @@ static void tegra20_mc_decode(struct tegra20_mc *mc, int n)
 | 
			
		|||
			    "carveout" : "trustzone") : "");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static const struct of_device_id tegra20_mc_of_match[] __devinitconst = {
 | 
			
		||||
static const struct of_device_id tegra20_mc_of_match[] = {
 | 
			
		||||
	{ .compatible = "nvidia,tegra20-mc", },
 | 
			
		||||
	{},
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -198,7 +198,7 @@ static irqreturn_t tegra20_mc_isr(int irq, void *data)
 | 
			
		|||
	return IRQ_HANDLED;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int __devinit tegra20_mc_probe(struct platform_device *pdev)
 | 
			
		||||
static int tegra20_mc_probe(struct platform_device *pdev)
 | 
			
		||||
{
 | 
			
		||||
	struct resource *irq;
 | 
			
		||||
	struct tegra20_mc *mc;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -295,7 +295,7 @@ static UNIVERSAL_DEV_PM_OPS(tegra30_mc_pm,
 | 
			
		|||
			    tegra30_mc_suspend,
 | 
			
		||||
			    tegra30_mc_resume, NULL);
 | 
			
		||||
 | 
			
		||||
static const struct of_device_id tegra30_mc_of_match[] __devinitconst = {
 | 
			
		||||
static const struct of_device_id tegra30_mc_of_match[] = {
 | 
			
		||||
	{ .compatible = "nvidia,tegra30-mc", },
 | 
			
		||||
	{},
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -316,7 +316,7 @@ static irqreturn_t tegra30_mc_isr(int irq, void *data)
 | 
			
		|||
	return IRQ_HANDLED;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int __devinit tegra30_mc_probe(struct platform_device *pdev)
 | 
			
		||||
static int tegra30_mc_probe(struct platform_device *pdev)
 | 
			
		||||
{
 | 
			
		||||
	struct resource *irq;
 | 
			
		||||
	struct tegra30_mc *mc;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue