diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2020-01-23 16:38:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-24 10:08:40 +0100 |
commit | 6a82c7758129441e7450703e6887d6cde003ff85 (patch) | |
tree | ba0bd0d56d5de3127ae73c9494bab2296c4d6257 /drivers/staging/most/dim2 | |
parent | staging: most: core: drop device reference (diff) | |
download | linux-dev-6a82c7758129441e7450703e6887d6cde003ff85.tar.xz linux-dev-6a82c7758129441e7450703e6887d6cde003ff85.zip |
staging: most: remove struct device core driver
This patch removes the device from the MOST core driver and uses the
device from the adapter driver.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1579793906-5054-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/dim2')
-rw-r--r-- | drivers/staging/most/dim2/dim2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c index fb704be6f4f8..16593281fcda 100644 --- a/drivers/staging/most/dim2/dim2.c +++ b/drivers/staging/most/dim2/dim2.c @@ -856,6 +856,7 @@ static int dim2_probe(struct platform_device *pdev) dev->most_iface.driver_dev = &pdev->dev; dev->most_iface.dev = &dev->dev; dev->dev.init_name = "dim2_state"; + dev->dev.parent = &pdev->dev; ret = most_register_interface(&dev->most_iface); if (ret) { |