| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * VME Bridge Framework |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Based on work by Tom Armistead and Ajit Prem |
|---|
| 8 | 9 | * Copyright 2004 Motorola Inc. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 12 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 13 | | - * option) any later version. |
|---|
| 14 | 10 | */ |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 1890 | 1886 | |
|---|
| 1891 | 1887 | err_reg: |
|---|
| 1892 | 1888 | put_device(&vdev->dev); |
|---|
| 1893 | | - kfree(vdev); |
|---|
| 1894 | 1889 | err_devalloc: |
|---|
| 1895 | 1890 | list_for_each_entry_safe(vdev, tmp, &drv->devices, drv_list) { |
|---|
| 1896 | 1891 | list_del(&vdev->drv_list); |
|---|