Shubhrajyoti D 388bc26226 omap-serial: Fix the error handling in the omap_serial probe
The patch does the following

- The pm_runtime_disable is called in the remove not in the error
  case of probe.The patch calls the pm_runtime_disable in the error
  case.
- Calls pm_runtime_put in the error case.
- The  up is not freed in the error path. Fix the memory leak by using
  devm_* so that the memory need not be freed in the driver.
- Also the iounmap is not called fix the same by calling using devm_ioremap.
- Make the name of the error tags more meaningful.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-09 10:30:38 -07:00
..
2012-03-08 10:50:35 -08:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:43:38 +01:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 14:08:46 -07:00
2012-03-17 01:41:43 -07:00
2012-03-27 16:41:24 -07:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-31 13:31:23 -07:00
2012-03-30 00:09:17 -07:00
2012-03-23 16:58:34 -07:00
2012-03-29 18:02:10 -07:00
2012-03-29 18:02:10 -07:00
2012-03-27 16:30:09 -07:00
2012-03-27 16:30:09 -07:00