1. 29 Jan, 2016 2 commits
    • Axel Lin's avatar
      clk: scpi: Fix checking return value of platform_device_register_simple() · d22eb66b
      Axel Lin authored
      platform_device_register_simple() returns ERR_PTR on error.
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      d22eb66b
    • Stephen Boyd's avatar
      clk: mvebu: Mark ioremapped memory as __iomem · 1ce133ec
      Stephen Boyd authored
      Silence the following sparse warning
      
      drivers/clk/mvebu/dove-divider.c:252:14: warning: incorrect type in assignment (different address spaces)
      drivers/clk/mvebu/dove-divider.c:252:14:    expected void *base
      drivers/clk/mvebu/dove-divider.c:252:14:    got void [noderef] <asn:2>*
      drivers/clk/mvebu/dove-divider.c:256:13: warning: incorrect type in argument 2 (different address spaces)
      drivers/clk/mvebu/dove-divider.c:256:13:    expected void [noderef] <asn:2>*base
      drivers/clk/mvebu/dove-divider.c:256:13:    got void *base
      drivers/clk/mvebu/dove-divider.c:257:25: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/mvebu/dove-divider.c:257:25:    expected void volatile [noderef] <asn:2>*iomem_cookie
      drivers/clk/mvebu/dove-divider.c:257:25:    got void *base
      
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      1ce133ec
  2. 24 Jan, 2016 38 commits