drm/vc4: Drop firmware node getting now that we use the power domain.

This commit is contained in:
Eric Anholt
2016-08-12 10:45:04 -07:00
parent 860f6235aa
commit 0de214b9f0
2 changed files with 0 additions and 11 deletions

View File

@@ -15,7 +15,6 @@
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <soc/bcm2835/raspberrypi-firmware.h>
#include "drm_fb_cma_helper.h"
#include "uapi/drm/vc4_drm.h"
@@ -204,7 +203,6 @@ static int vc4_drm_bind(struct device *dev)
struct drm_device *drm;
struct drm_connector *connector;
struct vc4_dev *vc4;
struct device_node *firmware_node;
int ret = 0;
dev->coherent_dma_mask = DMA_BIT_MASK(32);
@@ -213,14 +211,6 @@ static int vc4_drm_bind(struct device *dev)
if (!vc4)
return -ENOMEM;
firmware_node = of_parse_phandle(dev->of_node, "firmware", 0);
vc4->firmware = rpi_firmware_get(firmware_node);
if (!vc4->firmware) {
DRM_DEBUG("Failed to get Raspberry Pi firmware reference.\n");
return -EPROBE_DEFER;
}
of_node_put(firmware_node);
drm = drm_dev_alloc(&vc4_drm_driver, dev);
if (!drm)
return -ENOMEM;

View File

@@ -23,7 +23,6 @@ struct vc4_dev {
struct vc4_dsi *dsi1;
struct drm_fbdev_cma *fbdev;
struct rpi_firmware *firmware;
struct vc4_hang_state *hang_state;