Merge branch 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung

* 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: SAMSUNG: Fix warning 's3c_pm_show_resume_irqs' defined but not used
ARM: SAMSUNG: Fix build failure in PM CRC check code
ARM: S5P: Remove unused s3c_pm_check_resume_pin

+3 -19
-11
arch/arm/plat-s5p/pm.c
··· 19 19 20 20 #define PFX "s5p pm: " 21 21 22 - /* s3c_pm_check_resume_pin 23 - * 24 - * check to see if the pin is configured correctly for sleep mode, and 25 - * make any necessary adjustments if it is not 26 - */ 27 - 28 - static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs) 29 - { 30 - /* nothing here yet */ 31 - } 32 - 33 22 /* s3c_pm_configure_extint 34 23 * 35 24 * configure all external interrupt pins
-6
arch/arm/plat-samsung/pm-check.c
··· 164 164 */ 165 165 static u32 *s3c_pm_runcheck(struct resource *res, u32 *val) 166 166 { 167 - void *save_at = phys_to_virt(s3c_sleep_save_phys); 168 167 unsigned long addr; 169 168 unsigned long left; 170 169 void *stkpage; ··· 188 189 189 190 if (in_region(ptr, left, crcs, crc_size)) { 190 191 S3C_PMDBG("skipping %08lx, has crc block in\n", addr); 191 - goto skip_check; 192 - } 193 - 194 - if (in_region(ptr, left, save_at, 32*4 )) { 195 - S3C_PMDBG("skipping %08lx, has save block in\n", addr); 196 192 goto skip_check; 197 193 } 198 194
+3 -2
arch/arm/plat-samsung/pm.c
··· 214 214 * 215 215 * print any IRQs asserted at resume time (ie, we woke from) 216 216 */ 217 - static void s3c_pm_show_resume_irqs(int start, unsigned long which, 218 - unsigned long mask) 217 + static void __maybe_unused s3c_pm_show_resume_irqs(int start, 218 + unsigned long which, 219 + unsigned long mask) 219 220 { 220 221 int i; 221 222