| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Renesas R-Car SATA driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Vladimir Barinov <source@cogentembedded.com> |
|---|
| 5 | 6 | * Copyright (C) 2013-2015 Cogent Embedded, Inc. |
|---|
| 6 | 7 | * Copyright (C) 2013-2015 Renesas Solutions Corp. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 9 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 11 | | - * option) any later version. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 915 | 911 | |
|---|
| 916 | 912 | host = ata_host_alloc(dev, 1); |
|---|
| 917 | 913 | if (!host) { |
|---|
| 918 | | - dev_err(dev, "ata_host_alloc failed\n"); |
|---|
| 919 | 914 | ret = -ENOMEM; |
|---|
| 920 | 915 | goto err_pm_put; |
|---|
| 921 | 916 | } |
|---|