.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2009 Texas Instruments. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | 4 | * |
---|
14 | 5 | * common vpss system module platform driver for all video drivers. |
---|
15 | 6 | */ |
---|
.. | .. |
---|
507 | 498 | |
---|
508 | 499 | static void vpss_exit(void) |
---|
509 | 500 | { |
---|
| 501 | + platform_driver_unregister(&vpss_driver); |
---|
510 | 502 | iounmap(oper_cfg.vpss_regs_base2); |
---|
511 | 503 | release_mem_region(VPSS_CLK_CTRL, 4); |
---|
512 | | - platform_driver_unregister(&vpss_driver); |
---|
513 | 504 | } |
---|
514 | 505 | |
---|
515 | 506 | static int __init vpss_init(void) |
---|