Skip to content

Commit

Permalink
powerpc: Remove unused devm_ioremap_prot()
Browse files Browse the repository at this point in the history
Added in 2008, but has never had any in-tree users, and no other
architectures provide it.

Signed-off-by: Kyle McMartin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
jkkm authored and mpe committed Nov 9, 2014
1 parent b3c1872 commit dedd24a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
3 changes: 0 additions & 3 deletions arch/powerpc/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,6 @@ static inline void * bus_to_virt(unsigned long address)

#define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set)

void __iomem *devm_ioremap_prot(struct device *dev, resource_size_t offset,
size_t size, unsigned long flags);

#endif /* __KERNEL__ */

#endif /* _ASM_POWERPC_IO_H */
1 change: 0 additions & 1 deletion arch/powerpc/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CFLAGS_REMOVE_feature-fixups.o = -pg
obj-y := string.o alloc.o \
crtsavres.o ppc_ksyms.o
obj-$(CONFIG_PPC32) += div64.o copy_32.o
obj-$(CONFIG_HAS_IOMEM) += devres.o

obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \
usercopy_64.o mem_64.o string.o \
Expand Down
43 changes: 0 additions & 43 deletions arch/powerpc/lib/devres.c

This file was deleted.

0 comments on commit dedd24a

Please sign in to comment.