net: axienet: Move of_irq.h from header

Include of_irq.h directly in C file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
net: axienet: Fix checkpatch warnings

No functional changes.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
char: xdevcfg: Check 'sysfs_create_group' return value

Test the return value of 'sysfs_create_group()' and issue a warning if
the call fails. This silences the following build warning:
   drivers/char/xilinx_devcfg.c: In function 'xdevcfg_fclk_init':
	drivers/char/xilinx_devcfg.c:1785:20: warning: ignoring return
	value of 'sysfs_create_group', declared with attribute
	warn_unused_result [-Wunused-result]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
gpio: zynq: Remove duplicated return

Remove unused code.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
gpio: zynq: Fix missing checking return value

LOG:
drivers/gpio/gpio-zynq.c: In function 'xgpiops_probe':
drivers/gpio/gpio-zynq.c:673:17: warning: ignoring return
value of 'gpiochip_remove', declared with attribute
warn_unused_result [-Wunused-result]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
char: xdevcfg: Remove unneeded return value

No need return at the end of void function.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drm: xilinx: encoder: Use to_i2c_driver()

struct i2c_client has been changed. Use to_i2c_driver() to get
struct i2c_driver which is used to get struct drm_i2c_encoder_driver.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drm: xilinx: Fix sparse warnings

Fix sparse warnings.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
ARM: zynq defconfig: Be systemd ready

The Open Source Tea Party[1] is gaining more and more support and
sytemd[2] seems to become the default init system in a lot of
distros[3-5]. Hence, add the minimum kernel side requirements[6]
for systemd to the Zynq defconfig.

[1]: http://www.markshuttleworth.com/archives/1295
[2]: http://www.freedesktop.org/wiki/Software/systemd/
[3]: http://en.wikipedia.org/wiki/Systemd#Adoption
[4]: http://lwn.net/Articles/585363/
[5]: http://www.markshuttleworth.com/archives/1316
[6]: http://cgit.freedesktop.org/systemd/systemd/tree/README#n39

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: cadence: Avoid useless assignments

Remove some variable assignments that are not needed since they get
properly re-assigned before usage.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: cadence: Directly return instead of break

Directly return an error when deteceted, instead of breaking out of a
loop and returning it later.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: cadence: Don't initialize vars on every try

When a transaction fails and is retried, some variables don't need to be
re-assigned and can be moved out of the code which is looping.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: cadence: Avoid backwards jumping goto

Refactor the code to avoid a backwards jumping goto instruction.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: cadence: Move message processing into helper

Move the message processing into a dedicated helper to decrease the
indent level and make the code more readable.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: i2c: Removed unneeded adv7511 compile object

This patch removes duplicate of adv7511 compile object.

Signed-off-by: Davor Joja <davorjoja@logicbricks.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
ARM: zynq defconfig: Enable debug options

To catch certain errors during test enable additional debug options.
E.g. deadlock detection.
These options have a performance impact. Performance tests and
benchmarking need to customize their kernel config to achieve reasonable
results.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>