Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'remoteproc-3.15-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc

Pull remoteproc cleanups from Ohad Ben-Cohen:
"Several remoteproc cleanup patches coming from Jingoo Han, Julia
Lawall and Uwe Kleine-König"

* tag 'remoteproc-3.15-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc:
remoteproc/ste_modem: staticize local symbols
remoteproc/davinci: simplify use of devm_ioremap_resource
remoteproc/davinci: drop needless devm_clk_put

+3 -17
+1 -15
drivers/remoteproc/da8xx_remoteproc.c
··· 201 201 } 202 202 203 203 bootreg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 204 - if (!bootreg_res) { 205 - dev_err(dev, 206 - "platform_get_resource(IORESOURCE_MEM, 0): NULL\n"); 207 - return -EADDRNOTAVAIL; 208 - } 209 - 210 - chipsig_res = platform_get_resource(pdev, IORESOURCE_MEM, 1); 211 - if (!chipsig_res) { 212 - dev_err(dev, 213 - "platform_get_resource(IORESOURCE_MEM, 1): NULL\n"); 214 - return -EADDRNOTAVAIL; 215 - } 216 - 217 204 bootreg = devm_ioremap_resource(dev, bootreg_res); 218 205 if (IS_ERR(bootreg)) 219 206 return PTR_ERR(bootreg); 220 207 208 + chipsig_res = platform_get_resource(pdev, IORESOURCE_MEM, 1); 221 209 chipsig = devm_ioremap_resource(dev, chipsig_res); 222 210 if (IS_ERR(chipsig)) 223 211 return PTR_ERR(chipsig); ··· 288 300 * the device is being removed. This should prevent that. 289 301 */ 290 302 disable_irq(drproc->irq); 291 - 292 - devm_clk_put(dev, drproc->dsp_clk); 293 303 294 304 rproc_del(rproc); 295 305 rproc_put(rproc);
+2 -2
drivers/remoteproc/ste_modem_rproc.c
··· 164 164 } 165 165 166 166 /* STE modem firmware handler operations */ 167 - const struct rproc_fw_ops sproc_fw_ops = { 167 + static const struct rproc_fw_ops sproc_fw_ops = { 168 168 .load = sproc_load_segments, 169 169 .find_rsc_table = sproc_find_rsc_table, 170 170 .find_loaded_rsc_table = sproc_find_loaded_rsc_table, ··· 193 193 sproc_dbg(sproc, "no message was found in vqid %d\n", vqid); 194 194 } 195 195 196 - struct ste_modem_dev_cb sproc_dev_cb = { 196 + static struct ste_modem_dev_cb sproc_dev_cb = { 197 197 .kick = sproc_kick_callback, 198 198 }; 199 199